Index: test/mjsunit/es6/debug-promises/reject-uncaught-uncaught.js |
diff --git a/test/mjsunit/es6/debug-promises/reject-uncaught-uncaught.js b/test/mjsunit/es6/debug-promises/reject-uncaught-uncaught.js |
index 86e2a815e7257360e1995b50b6e39d9da8d583c4..ac23b48b6f37b62b6873cb656513833ca3d7ab27 100644 |
--- a/test/mjsunit/es6/debug-promises/reject-uncaught-uncaught.js |
+++ b/test/mjsunit/es6/debug-promises/reject-uncaught-uncaught.js |
@@ -60,10 +60,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); |