mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
fix wpt runner
This commit is contained in:
@@ -170,7 +170,7 @@ fn run(
|
|||||||
var try_catch: Env.TryCatch = undefined;
|
var try_catch: Env.TryCatch = undefined;
|
||||||
try_catch.init(runner.page.main_context);
|
try_catch.init(runner.page.main_context);
|
||||||
defer try_catch.deinit();
|
defer try_catch.deinit();
|
||||||
try runner.page.loop.run(std.time.ns_per_ms * 200);
|
runner.page.wait(std.time.ns_per_ms * 200);
|
||||||
|
|
||||||
if (try_catch.hasCaught()) {
|
if (try_catch.hasCaught()) {
|
||||||
err_out.* = (try try_catch.err(arena)) orelse "unknwon error";
|
err_out.* = (try try_catch.err(arena)) orelse "unknwon error";
|
||||||
|
|||||||
Reference in New Issue
Block a user