Index: test/mjsunit/es6/debug-promises/reject-with-invalid-reject.js |
diff --git a/test/mjsunit/es6/debug-promises/reject-with-invalid-reject.js b/test/mjsunit/es6/debug-promises/reject-with-invalid-reject.js |
index fc6233da8d15e99a72de26147251df207289200b..fa263458c47bf529e6231588314673e6e24ef5b8 100644 |
--- a/test/mjsunit/es6/debug-promises/reject-with-invalid-reject.js |
+++ b/test/mjsunit/es6/debug-promises/reject-with-invalid-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); |