Index: test/mjsunit/es6/debug-promises/throw-uncaught-uncaught.js |
diff --git a/test/mjsunit/es6/debug-promises/throw-uncaught-uncaught.js b/test/mjsunit/es6/debug-promises/throw-uncaught-uncaught.js |
index 69aa8ebbd248c2e6fd01770aca7b47126526ce53..ba82a1f8cb780ad6e39e98fbf537c7dc057828a8 100644 |
--- a/test/mjsunit/es6/debug-promises/throw-uncaught-uncaught.js |
+++ b/test/mjsunit/es6/debug-promises/throw-uncaught-uncaught.js |
@@ -61,10 +61,7 @@ function testDone(iteration) { |
} |
} |
- // Run testDone through the Object.observe processing loop. |
- var dummy = {}; |
- Object.observe(dummy, checkResult); |
- dummy.dummy = dummy; |
+ %EnqueueMicrotask(checkResult); |
} |
testDone(0); |