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

Side by Side Diff: test/mjsunit/es6/debug-liveedit-new-target-1.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/classof-proxy.js ('k') | test/mjsunit/es6/debug-stepin-proxies.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 --expose-debug-as debug --allow-natives-syntax 5 // Flags: --expose-debug-as debug --allow-natives-syntax
6 6
7 // Test that live-editing a frame that uses new.target fails. 7 // Test that live-editing a frame that uses new.target fails.
8 8
9 Debug = debug.Debug 9 Debug = debug.Debug
10 var calls = 0; 10 var calls = 0;
11 var exceptions = 0; 11 var exceptions = 0;
12 var results = []; 12 var results = [];
13 var replace_again; 13 var replace_again;
14 14
15 eval(` 15 eval(`
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 new LogNewTarget(); 66 new LogNewTarget();
67 67
68 replace_again = true; 68 replace_again = true;
69 Reflect.construct(LogNewTarget, [], Dummy); 69 Reflect.construct(LogNewTarget, [], Dummy);
70 70
71 assertEquals( 71 assertEquals(
72 [false, LogNewTarget, true, undefined, true, LogNewTarget, true, Dummy], 72 [false, LogNewTarget, true, undefined, true, LogNewTarget, true, Dummy],
73 results); 73 results);
74 assertEquals(4, calls); // No restarts 74 assertEquals(4, calls); // No restarts
75 assertEquals(3, exceptions); // Replace failed. 75 assertEquals(3, exceptions); // Replace failed.
OLDNEW
« no previous file with comments | « test/mjsunit/es6/classof-proxy.js ('k') | test/mjsunit/es6/debug-stepin-proxies.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698