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

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

Issue 1218473003: [es6] Remove harmony-object-literal flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update description of harmony classes flag 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 // Flags: --harmony-computed-property-names --harmony-object-literals 5 // Flags: --harmony-computed-property-names
6 // Flags: --harmony-classes --allow-natives-syntax 6 // Flags: --harmony-classes --allow-natives-syntax
7 7
8 8
9 function ID(x) { 9 function ID(x) {
10 return x; 10 return x;
11 } 11 }
12 12
13 13
14 (function TestComputedMethodSuper() { 14 (function TestComputedMethodSuper() {
15 var proto = { 15 var proto = {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 }; 70 };
71 object.a = 2; 71 object.a = 2;
72 assertEquals('a 2', value); 72 assertEquals('a 2', value);
73 object.b = 3; 73 object.b = 3;
74 assertEquals('b 3', value); 74 assertEquals('b 3', value);
75 object[0] = 4; 75 object[0] = 4;
76 assertEquals('0 4', value); 76 assertEquals('0 4', value);
77 object[1] = 5; 77 object[1] = 5;
78 assertEquals('1 5', value); 78 assertEquals('1 5', value);
79 })(); 79 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698