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

Side by Side Diff: test/mjsunit/harmony/computed-property-names-classes.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, 5 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 'use strict'; 5 'use strict';
6 6
7 // Flags: --harmony-computed-property-names --harmony-classes 7 // Flags: --harmony-computed-property-names
8 8
9 9
10 function ID(x) { 10 function ID(x) {
11 return x; 11 return x;
12 } 12 }
13 13
14 14
15 (function TestClassMethodString() { 15 (function TestClassMethodString() {
16 class C { 16 class C {
17 a() { return 'A'} 17 a() { return 'A'}
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 class C { 454 class C {
455 get [C]() { return 42; } 455 get [C]() { return 42; }
456 } 456 }
457 }, ReferenceError); 457 }, ReferenceError);
458 assertThrows(function() { 458 assertThrows(function() {
459 class C { 459 class C {
460 set [C](_) { } 460 set [C](_) { }
461 } 461 }
462 }, ReferenceError); 462 }, ReferenceError);
463 })(); 463 })();
OLDNEW
« no previous file with comments | « test/mjsunit/harmony/classes-subclass-arrays.js ('k') | test/mjsunit/harmony/computed-property-names-super.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698