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

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: 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
« src/elements.cc ('K') | « 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-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..20a0608788dfab938fdb3f24014fe8e237fb7faf
--- /dev/null
+++ b/test/mjsunit/es7/regress/regress-634273.js
@@ -0,0 +1,19 @@
+// 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
+
+var v7 = eval();
+var v8 = eval();
+var v10 = eval();
Camillo Bruni 2016/08/04 15:51:57 nit: can you clean up the test case a bit? Otherwi
+v13 = new Array(v10, v10, v7);
+v18 = v13.copyWithin();
Camillo Bruni 2016/08/04 15:51:57 drop this.
+v35 = new WeakMap();
+Object.defineProperty(v18, 0, {
Camillo Bruni 2016/08/04 15:51:57 v18 => v13
+ get: function() {
+ v13.push(v8, v10);
+ }
+});
+v13[0x80000] = 1;
+v48 = v13.includes(v35);
Camillo Bruni 2016/08/04 15:51:57 v35 is just a value that isn't in the array
« src/elements.cc ('K') | « src/elements.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698