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

Side by Side Diff: test/mjsunit/es6/reflect.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-with-unscopables.js ('k') | test/mjsunit/es6/reflect-apply.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-reflect
6
7 // TODO(neis): Test with proxies. 5 // TODO(neis): Test with proxies.
8 6
9 7
10 8
11 //////////////////////////////////////////////////////////////////////////////// 9 ////////////////////////////////////////////////////////////////////////////////
12 // (Auxiliaries) 10 // (Auxiliaries)
13 11
14 12
15 "use strict"; 13 "use strict";
16 14
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 assertThrows(function() { Reflect.preventExtensions(); }, TypeError); 561 assertThrows(function() { Reflect.preventExtensions(); }, TypeError);
564 assertThrows(function() { Reflect.preventExtensions(42); }, TypeError); 562 assertThrows(function() { Reflect.preventExtensions(42); }, TypeError);
565 assertThrows(function() { Reflect.preventExtensions(null); }, TypeError); 563 assertThrows(function() { Reflect.preventExtensions(null); }, TypeError);
566 })(); 564 })();
567 565
568 566
569 // See reflect-prevent-extensions.js for further tests. 567 // See reflect-prevent-extensions.js for further tests.
570 568
571 // TODO(neis): Need proxies to test the situation where 569 // TODO(neis): Need proxies to test the situation where
572 // [[preventExtensions]] returns false. 570 // [[preventExtensions]] returns false.
OLDNEW
« no previous file with comments | « test/mjsunit/es6/proxies-with-unscopables.js ('k') | test/mjsunit/es6/reflect-apply.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698