Index: test/mjsunit/es6/debug-promises/throw-caught-all.js |
diff --git a/test/mjsunit/es6/debug-promises/throw-caught-all.js b/test/mjsunit/es6/debug-promises/throw-caught-all.js |
index 2fbf05141d56d018f3115a8a5e82b8cfcd709b43..8fc649651ea758d1c8b729540e09cd89b788fa95 100644 |
--- a/test/mjsunit/es6/debug-promises/throw-caught-all.js |
+++ b/test/mjsunit/es6/debug-promises/throw-caught-all.js |
@@ -62,10 +62,7 @@ function testDone(iteration) { |
} |
} |
- // Run testDone through the Object.observe processing loop. |
- var dummy = {}; |
- Object.observe(dummy, checkResult); |
- dummy.dummy = dummy; |
+ Promise.resolve().then(checkResult); |
} |
testDone(0); |