mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
performance now
This commit is contained in:
@@ -21,6 +21,7 @@ const Allocator = std.mem.Allocator;
|
||||
|
||||
pub const allocator = std.testing.allocator;
|
||||
pub const expectError = std.testing.expectError;
|
||||
pub const expect = std.testing.expect;
|
||||
pub const expectString = std.testing.expectEqualStrings;
|
||||
pub const expectEqualSlices = std.testing.expectEqualSlices;
|
||||
|
||||
@@ -421,7 +422,7 @@ pub const JsRunner = struct {
|
||||
.http_client = &self.http_client,
|
||||
};
|
||||
|
||||
self.window = .{};
|
||||
self.window = try Window.create(null, null);
|
||||
try self.window.replaceDocument(document);
|
||||
try self.window.replaceLocation(.{
|
||||
.url = try self.url.toWebApi(arena),
|
||||
|
||||
Reference in New Issue
Block a user