Index: test/mjsunit/es6/debug-promises/reject-with-undefined-reject.js |
diff --git a/test/mjsunit/es6/debug-promises/reject-with-undefined-reject.js b/test/mjsunit/es6/debug-promises/reject-with-undefined-reject.js |
index d11c01ff73b6216cab278aa850e7fa45c49cf2d8..4c57cf0237911fe93a5c315ab0d5ffa6ad6a2f4f 100644 |
--- a/test/mjsunit/es6/debug-promises/reject-with-undefined-reject.js |
+++ b/test/mjsunit/es6/debug-promises/reject-with-undefined-reject.js |
@@ -66,10 +66,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); |