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

Side by Side Diff: test/mjsunit/es6/regress/regress-cr493566.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
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 "use strict"; 5 "use strict";
8 var global = this; 6 var global = this;
9 7
10 (function TestGlobalReceiver() { 8 (function TestGlobalReceiver() {
11 class A { 9 class A {
12 s(value) { 10 s(value) {
13 super.bla = value; 11 super.bla = value;
14 } 12 }
15 } 13 }
16 var a = new A(); 14 var a = new A();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 93
96 assertEquals(undefined, object.y); 94 assertEquals(undefined, object.y);
97 object.setY(10); 95 object.setY(10);
98 assertEquals(10, object.y); 96 assertEquals(10, object.y);
99 97
100 // Change the receiver to the proxy, but the set is called on the global. 98 // Change the receiver to the proxy, but the set is called on the global.
101 object.setY.call(proxy, 3); 99 object.setY.call(proxy, 3);
102 assertEquals(3, target.y); 100 assertEquals(3, target.y);
103 assertEquals(11, calls); 101 assertEquals(11, calls);
104 })(); 102 })();
OLDNEW
« no previous file with comments | « test/mjsunit/es6/regress/regress-576662.js ('k') | test/mjsunit/es6/regress/regress-crbug-448730.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698