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..a1b65e476ea0663cec08f8151918733ef3d02d4d 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; |
+ Promise.resolve().then(checkResult); |
} |
testDone(0); |