Index: test/mjsunit/es6/debug-promises/throw-with-throw-in-reject.js |
diff --git a/test/mjsunit/es6/debug-promises/throw-with-throw-in-reject.js b/test/mjsunit/es6/debug-promises/throw-with-throw-in-reject.js |
index 349d014701cbd50e15564eb580619f355f440e74..5cf49f2faea10b4579092bbecf31d38b3fdd965e 100644 |
--- a/test/mjsunit/es6/debug-promises/throw-with-throw-in-reject.js |
+++ b/test/mjsunit/es6/debug-promises/throw-with-throw-in-reject.js |
@@ -31,6 +31,7 @@ function MyPromise(resolver) { |
}; |
MyPromise.prototype = new Promise(function() {}); |
+MyPromise.__proto__ = Promise; |
p.constructor = MyPromise; |
var q = p.chain( |