From 9bd8b2fc430ed3442c6cd95ec3a25ad7fafb548a Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Wed, 13 Aug 2025 19:39:49 +0800 Subject: [PATCH] fix wpt runner --- src/main_wpt.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_wpt.zig b/src/main_wpt.zig index 2e78ae5e..7089a0d5 100644 --- a/src/main_wpt.zig +++ b/src/main_wpt.zig @@ -170,7 +170,7 @@ fn run( var try_catch: Env.TryCatch = undefined; try_catch.init(runner.page.main_context); 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()) { err_out.* = (try try_catch.err(arena)) orelse "unknwon error";