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

Side by Side Diff: test/mjsunit/harmony/classes-experimental.js

Issue 919643008: Remove --experimental-classes flag and related dead code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « src/x87/full-codegen-x87.cc ('k') | test/mjsunit/harmony/regress/regress-455141.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 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: --experimental-classes --harmony-classes 5 // Flags: --harmony-classes
6 6
7 'use strict'; 7 'use strict';
8 (function TestArgumentsAccess() { 8 (function TestArgumentsAccess() {
9 class Base { 9 class Base {
10 constructor() { 10 constructor() {
11 assertEquals(2, arguments.length); 11 assertEquals(2, arguments.length);
12 assertEquals(1, arguments[0]); 12 assertEquals(1, arguments[0]);
13 assertEquals(2, arguments[1]); 13 assertEquals(2, arguments[1]);
14 } 14 }
15 } 15 }
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 var eua = new ExtendedUint8Array(10); 347 var eua = new ExtendedUint8Array(10);
348 assertEquals(10, eua.length); 348 assertEquals(10, eua.length);
349 assertEquals(10, eua.byteLength); 349 assertEquals(10, eua.byteLength);
350 eua[0] = 0xFF; 350 eua[0] = 0xFF;
351 eua[1] = 0xFFA; 351 eua[1] = 0xFFA;
352 assertEquals(0xFF, eua[0]); 352 assertEquals(0xFF, eua[0]);
353 assertEquals(0xFA, eua[1]); 353 assertEquals(0xFA, eua[1]);
354 assertSame(ExtendedUint8Array.prototype, eua.__proto__); 354 assertSame(ExtendedUint8Array.prototype, eua.__proto__);
355 assertEquals("[object Uint8Array]", Object.prototype.toString.call(eua)); 355 assertEquals("[object Uint8Array]", Object.prototype.toString.call(eua));
356 }()); 356 }());
OLDNEW
« no previous file with comments | « src/x87/full-codegen-x87.cc ('k') | test/mjsunit/harmony/regress/regress-455141.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698