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

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

Issue 1138483005: Reland "Mark internal AccessorInfo properties as 'special data properties'" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/arguments-iterator.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-489151.js
diff --git a/test/mjsunit/regress/regress-crbug-454091.js b/test/mjsunit/regress/regress-489151.js
similarity index 68%
copy from test/mjsunit/regress/regress-crbug-454091.js
copy to test/mjsunit/regress/regress-489151.js
index 2705e96bfd023f415cd5a7076017900cd251793c..25a655585befdaf7314a918437a32f43c2dc2a9e 100644
--- a/test/mjsunit/regress/regress-crbug-454091.js
+++ b/test/mjsunit/regress/regress-489151.js
@@ -4,6 +4,9 @@
this.__proto__ = Array.prototype;
Object.freeze(this);
-this.length = 1;
-assertThrows('this.__proto__ = {}');
-assertEquals(Array.prototype, this.__proto__);
+function __f_0() {
+ for (var __v_0 = 0; __v_0 < 10; __v_0++) {
+ this.length = 1;
+ }
+}
+ __f_0();
« no previous file with comments | « test/mjsunit/es6/arguments-iterator.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698