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

Unified Diff: test/mjsunit/es7/regress/regress-634357.js

Issue 2212963002: [elements] update Dictionary in IncludesValue if own elements change (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add test for other related failure Created 4 years, 4 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/es7/regress/regress-634273.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es7/regress/regress-634357.js
diff --git a/test/mjsunit/regress/regress-crbug-617527.js b/test/mjsunit/es7/regress/regress-634357.js
similarity index 51%
copy from test/mjsunit/regress/regress-crbug-617527.js
copy to test/mjsunit/es7/regress/regress-634357.js
index cf4662871c4ce68e3e72bd9efa14d1f0258dd987..556d8a2b50a83380fa8632c9a04182ccc11b42df 100644
--- a/test/mjsunit/regress/regress-crbug-617527.js
+++ b/test/mjsunit/es7/regress/regress-634357.js
@@ -4,5 +4,11 @@
// Flags: --enable-slow-asserts
-Object.defineProperty(Array.prototype, "1", { get: toLocaleString });
-assertThrows(_ => new RegExp(0, 0));
+array = new Array({}, {}, {});
+Object.defineProperty(array, 1, {
+ get: function() {
+ array.length = 0;
+ array[0] = -2147483648;
+ }
+});
+result = array.includes(new Intl.Collator());
« no previous file with comments | « test/mjsunit/es7/regress/regress-634273.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698