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

Side by Side Diff: test/mjsunit/harmony/computed-property-names-super.js

Issue 1213813003: [es6] Remove harmony-classes flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove empty flags field from json Created 5 years, 6 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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-computed-property-names 5 // Flags: --harmony-computed-property-names --allow-natives-syntax
6 // Flags: --harmony-classes --allow-natives-syntax
7 6
8 7
9 function ID(x) { 8 function ID(x) {
10 return x; 9 return x;
11 } 10 }
12 11
13 12
14 (function TestComputedMethodSuper() { 13 (function TestComputedMethodSuper() {
15 var proto = { 14 var proto = {
16 m() { 15 m() {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 }; 69 };
71 object.a = 2; 70 object.a = 2;
72 assertEquals('a 2', value); 71 assertEquals('a 2', value);
73 object.b = 3; 72 object.b = 3;
74 assertEquals('b 3', value); 73 assertEquals('b 3', value);
75 object[0] = 4; 74 object[0] = 4;
76 assertEquals('0 4', value); 75 assertEquals('0 4', value);
77 object[1] = 5; 76 object[1] = 5;
78 assertEquals('1 5', value); 77 assertEquals('1 5', value);
79 })(); 78 })();
OLDNEW
« no previous file with comments | « test/mjsunit/harmony/computed-property-names-classes.js ('k') | test/mjsunit/harmony/debug-step-into-class-extends.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698