Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js

Issue 1721993002: Ship ES2015 Symbol.species (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix tests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/es6/debug-promises/throw-with-throw-in-reject.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « test/mjsunit/es6/debug-promises/throw-with-throw-in-reject.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698