Index: test/mjsunit/es6/debug-promises/reject-caught-all.js |
diff --git a/test/mjsunit/es6/debug-promises/reject-caught-all.js b/test/mjsunit/es6/debug-promises/reject-caught-all.js |
index 0fca57730a1430be493d7964cda0c1c18b93fb45..fd4770ebee0283ee60ae9d8c1a3dc9057fac2286 100644 |
--- a/test/mjsunit/es6/debug-promises/reject-caught-all.js |
+++ b/test/mjsunit/es6/debug-promises/reject-caught-all.js |
@@ -63,10 +63,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); |