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

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

Issue 2209273002: [elements] limit TypedElementsAccessor::IncludesValue to backing store length (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Try again to make windows happy 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 | « src/elements.cc ('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-634269.js
diff --git a/test/intl/regexp-prepare.js b/test/mjsunit/es7/regress/regress-634269.js
similarity index 54%
copy from test/intl/regexp-prepare.js
copy to test/mjsunit/es7/regress/regress-634269.js
index dec84110ed02e30bba674538534a069f7d43d39d..3bd55eec414fa74856ce6bf21316e163e2b3c299 100644
--- a/test/intl/regexp-prepare.js
+++ b/test/mjsunit/es7/regress/regress-634269.js
@@ -2,4 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-/(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)/.exec(">>>abcdefghij<<<");
+__v_1 = new Uint8Array();
+Object.defineProperty(__v_1.__proto__, 'length', {value: 42});
+Array.prototype.includes.call(new Uint8Array(), 2);
« no previous file with comments | « src/elements.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698