aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/harmony/modules-import-16.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/harmony/modules-import-16.js')
-rw-r--r--deps/v8/test/mjsunit/harmony/modules-import-16.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/mjsunit/harmony/modules-import-16.js b/deps/v8/test/mjsunit/harmony/modules-import-16.js
index 94510d48fc..18ad445a84 100644
--- a/deps/v8/test/mjsunit/harmony/modules-import-16.js
+++ b/deps/v8/test/mjsunit/harmony/modules-import-16.js
@@ -12,7 +12,7 @@ var body = "import('modules-skip-1.js').then(ns => { x = ns.life();" +
var func = new Function(body);
func();
-%RunMicrotasks();
+%PerformMicrotaskCheckpoint();
assertEquals(42, x);
assertTrue(ran);
@@ -21,7 +21,7 @@ var body = "import('modules-skip-1.js').then(ns => { x = ns.life();" +
" ran = true;} ).catch(err => %AbortJS(err))"
eval("var func = new Function(body); func();");
-%RunMicrotasks();
+%PerformMicrotaskCheckpoint();
assertEquals(42, x);
assertTrue(ran);
@@ -31,6 +31,6 @@ var body = "eval(import('modules-skip-1.js').then(ns => { x = ns.life();" +
var func = new Function(body);
func();
-%RunMicrotasks();
+%PerformMicrotaskCheckpoint();
assertEquals(42, x);
assertTrue(ran);