Index: test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js |
diff --git a/test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js b/test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js |
index 69ee01ee41fd64d7ac7d1e765f8b96908630e8f4..1d13a49e4702dac98078510213a7a5f4e0cfa0f4 100644 |
--- a/test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js |
+++ b/test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js |
@@ -28,6 +28,7 @@ function MyPromise(resolver) { |
}; |
MyPromise.prototype = new Promise(function() {}); |
+MyPromise.__proto__ = Promise; |
p.constructor = MyPromise; |
var q = p.chain( |