mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
remove Browser.EnvType
This commit is contained in:
@@ -58,7 +58,6 @@ pub const Browser = struct {
|
||||
http_client: *http.Client,
|
||||
session_pool: SessionPool,
|
||||
page_arena: std.heap.ArenaAllocator,
|
||||
pub const EnvType = Env;
|
||||
|
||||
const SessionPool = std.heap.MemoryPool(Session);
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ const Allocator = std.mem.Allocator;
|
||||
const json = std.json;
|
||||
|
||||
const App = @import("../app.zig").App;
|
||||
const Env = @import("../browser/env.zig").Env;
|
||||
const asUint = @import("../str/parser.zig").asUint;
|
||||
const Browser = @import("../browser/browser.zig").Browser;
|
||||
const Session = @import("../browser/browser.zig").Session;
|
||||
@@ -308,7 +309,7 @@ pub fn BrowserContext(comptime CDP_T: type) type {
|
||||
node_registry: Node.Registry,
|
||||
node_search_list: Node.Search.List,
|
||||
|
||||
isolated_world: ?IsolatedWorld(Browser.EnvType),
|
||||
isolated_world: ?IsolatedWorld(Env),
|
||||
|
||||
const Self = @This();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user