Index: test/mjsunit/es6/debug-promises/reject-uncaught-late.js |
diff --git a/test/mjsunit/es6/debug-promises/reject-uncaught-late.js b/test/mjsunit/es6/debug-promises/reject-uncaught-late.js |
index 4a883da13a793972d00fd2f4a9f8311b15b04811..db58790e395f092ca52faa9a8a9fed0e73d9f533 100644 |
--- a/test/mjsunit/es6/debug-promises/reject-uncaught-late.js |
+++ b/test/mjsunit/es6/debug-promises/reject-uncaught-late.js |
@@ -67,10 +67,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); |