Index: test/mjsunit/es6/debug-promises/reject-caught-by-default-reject-handler.js |
diff --git a/test/mjsunit/es6/debug-promises/reject-caught-by-default-reject-handler.js b/test/mjsunit/es6/debug-promises/reject-caught-by-default-reject-handler.js |
index 63151df016c9bdaec3e43c145a3ba10f4433b110..b7c5861c1f0a5672a396cc37ee55516e5e306a8f 100644 |
--- a/test/mjsunit/es6/debug-promises/reject-caught-by-default-reject-handler.js |
+++ b/test/mjsunit/es6/debug-promises/reject-caught-by-default-reject-handler.js |
@@ -77,10 +77,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); |