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

Unified Diff: test/mjsunit/regress/regress-1403.js

Issue 2108203002: Implement immutable prototype chains (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: IsImmutableProto Created 4 years, 6 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/proxies-global-reference.js ('k') | test/mjsunit/regress/regress-crbug-571517.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-1403.js
diff --git a/test/mjsunit/regress/regress-1403.js b/test/mjsunit/regress/regress-1403.js
index f2520ccbc97e7586620dd7adf6ed375eef1996e3..91df6d65f600dcc8a1be608c93122de982ed3ece 100644
--- a/test/mjsunit/regress/regress-1403.js
+++ b/test/mjsunit/regress/regress-1403.js
@@ -28,7 +28,7 @@
// See: http://code.google.com/p/v8/issues/detail?id=1403
a = [];
-Object.prototype.__proto__ = { __proto__: null };
+assertThrows(() => Object.prototype.__proto__ = { __proto__: null }, TypeError);
a.shift();
a = [];
« no previous file with comments | « test/mjsunit/es6/proxies-global-reference.js ('k') | test/mjsunit/regress/regress-crbug-571517.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698