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