Skip to content

Commit 9bd8b2f

Browse files
committed
fix wpt runner
1 parent 5a3d5f5 commit 9bd8b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main_wpt.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ fn run(
170170
var try_catch: Env.TryCatch = undefined;
171171
try_catch.init(runner.page.main_context);
172172
defer try_catch.deinit();
173-
try runner.page.loop.run(std.time.ns_per_ms * 200);
173+
runner.page.wait(std.time.ns_per_ms * 200);
174174

175175
if (try_catch.hasCaught()) {
176176
err_out.* = (try try_catch.err(arena)) orelse "unknwon error";

0 commit comments

Comments
 (0)