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

Side by Side 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 unified diff | Download patch
« src/elements.cc ('K') | « src/elements.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Flags: --enable-slow-asserts
6
7 var v7 = eval();
8 var v8 = eval();
9 var v10 = eval();
Camillo Bruni 2016/08/04 15:51:57 nit: can you clean up the test case a bit? Otherwi
10 v13 = new Array(v10, v10, v7);
11 v18 = v13.copyWithin();
Camillo Bruni 2016/08/04 15:51:57 drop this.
12 v35 = new WeakMap();
13 Object.defineProperty(v18, 0, {
Camillo Bruni 2016/08/04 15:51:57 v18 => v13
14 get: function() {
15 v13.push(v8, v10);
16 }
17 });
18 v13[0x80000] = 1;
19 v48 = v13.includes(v35);
Camillo Bruni 2016/08/04 15:51:57 v35 is just a value that isn't in the array
OLDNEW
« 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