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

Side by Side Diff: test/mjsunit/es6/proxies-integrity.js

Issue 1815773002: Remove runtime flags for Proxy and Reflect (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 9 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
« no previous file with comments | « test/mjsunit/es6/proxies-hash.js ('k') | test/mjsunit/es6/proxies-is-extensible.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --harmony-proxies --harmony-reflect
6
7 5
8 6
9 function toKey(x) { 7 function toKey(x) {
10 if (typeof x === "symbol") return x; 8 if (typeof x === "symbol") return x;
11 return String(x); 9 return String(x);
12 } 10 }
13 11
14 12
15 const noconf = {configurable: false}; 13 const noconf = {configurable: false};
16 const noconf_nowrite = {configurable: false, writable: false}; 14 const noconf_nowrite = {configurable: false, writable: false};
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 ["ownKeys", target], log[1]); 202 ["ownKeys", target], log[1]);
205 assertArrayEquals( 203 assertArrayEquals(
206 ["getOwnPropertyDescriptor", target, toKey(0)], log[2]); 204 ["getOwnPropertyDescriptor", target, toKey(0)], log[2]);
207 assertArrayEquals( 205 assertArrayEquals(
208 ["getOwnPropertyDescriptor", target, toKey("length")], log[3]); 206 ["getOwnPropertyDescriptor", target, toKey("length")], log[3]);
209 assertArrayEquals( 207 assertArrayEquals(
210 ["getOwnPropertyDescriptor", target, toKey("wurst")], log[4]); 208 ["getOwnPropertyDescriptor", target, toKey("wurst")], log[4]);
211 assertArrayEquals( 209 assertArrayEquals(
212 ["getOwnPropertyDescriptor", target, toKey(symbol)], log[5]); 210 ["getOwnPropertyDescriptor", target, toKey(symbol)], log[5]);
213 })(); 211 })();
OLDNEW
« no previous file with comments | « test/mjsunit/es6/proxies-hash.js ('k') | test/mjsunit/es6/proxies-is-extensible.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698