Index: test/mjsunit/es6/debug-promises/reject-with-throw-in-reject.js |
diff --git a/test/mjsunit/es6/debug-promises/reject-with-throw-in-reject.js b/test/mjsunit/es6/debug-promises/reject-with-throw-in-reject.js |
index 15e464ec6016b7199da3308b1cea8136c4329eba..6b7dc1a77c59f63955dd5b82fcd6a9e1132257e5 100644 |
--- a/test/mjsunit/es6/debug-promises/reject-with-throw-in-reject.js |
+++ b/test/mjsunit/es6/debug-promises/reject-with-throw-in-reject.js |
@@ -78,10 +78,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); |