File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,4 @@ test "Browser.fetch" {
2828 // all events have been resolved.
2929 .{ "ok" , "true" },
3030 }, .{});
31-
32- try runner .testCases (&.{
33- .{
34- \\ var ok2 = false;
35- \\ const request2 = new Request("http://127.0.0.1:9582/loader");
36- \\ (async function () { resp = await fetch(request2); ok2 = resp.ok; }());
37- \\ false;
38- ,
39- "false" ,
40- },
41- // all events have been resolved.
42- .{ "ok2" , "true" },
43- }, .{});
4431}
Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ pub fn Env(comptime State: type, comptime WebApis: type) type {
198198 // This is the callback that runs whenever a module is dynamically imported.
199199 isolate .setHostImportModuleDynamicallyCallback (JsContext .dynamicModuleCallback );
200200 isolate .setPromiseRejectCallback (promiseRejectCallback );
201+ isolate .setMicrotasksPolicy (v8 .c .kExplicit );
201202
202203 isolate .enter ();
203204 errdefer isolate .exit ();
You can’t perform that action at this time.
0 commit comments