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

Unified Diff: test/mjsunit/es7/regress/regress-634273.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 | « src/elements.cc ('k') | test/mjsunit/es7/regress/regress-634357.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es7/regress/regress-634273.js
diff --git a/test/mjsunit/es7/regress/regress-634273.js b/test/mjsunit/es7/regress/regress-634273.js
new file mode 100644
index 0000000000000000000000000000000000000000..7ee5b5a5fa8dfe51b01c40a07460c6cc4bd192fb
--- /dev/null
+++ b/test/mjsunit/es7/regress/regress-634273.js
@@ -0,0 +1,14 @@
+// Copyright 2016 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Flags: --enable-slow-asserts
+
+array = new Array(undefined, undefined, undefined);
+Object.defineProperty(array, 0, {
+ get: function() {
+ array.push(undefined, undefined);
+ }
+});
+array[0x80000] = 1;
+result = array.includes(new WeakMap());
« no previous file with comments | « src/elements.cc ('k') | test/mjsunit/es7/regress/regress-634357.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698