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

Side by Side Diff: test/mjsunit/harmony/reflect-construct.js

Issue 1511893002: Fix Promise intrinsicDefaultProto (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/contexts.h ('k') | no next file » | 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: --harmony-reflect 5 // Flags: --harmony-reflect
6 6
7 7
8 (function testReflectConstructArity() { 8 (function testReflectConstructArity() {
9 assertEquals(2, Reflect.construct.length); 9 assertEquals(2, Reflect.construct.length);
10 })(); 10 })();
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 "Float32Array", 300 "Float32Array",
301 "Float64Array", 301 "Float64Array",
302 "Function", 302 "Function",
303 "((function*(){}).constructor)", // GeneratorFunction 303 "((function*(){}).constructor)", // GeneratorFunction
304 "Int8Array", 304 "Int8Array",
305 "Int16Array", 305 "Int16Array",
306 "Int32Array", 306 "Int32Array",
307 "Map", 307 "Map",
308 "Number", 308 "Number",
309 "Object", 309 "Object",
310 // "Promise", 310 ["Promise", [(resolve, reject)=>{}]],
311 "RangeError", 311 "RangeError",
312 "ReferenceError", 312 "ReferenceError",
313 "RegExp", 313 "RegExp",
314 "Set", 314 "Set",
315 "String", 315 "String",
316 "SyntaxError", 316 "SyntaxError",
317 // %TypedArray%? 317 // %TypedArray%?
318 "TypeError", 318 "TypeError",
319 "Uint8Array", 319 "Uint8Array",
320 "Uint8ClampedArray", 320 "Uint8ClampedArray",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 for (var realm of [realm1, realm2]) { 368 for (var realm of [realm1, realm2]) {
369 test(realm, getname(intrinsic), getargs(intrinsic), convert); 369 test(realm, getname(intrinsic), getargs(intrinsic), convert);
370 } 370 }
371 } 371 }
372 } 372 }
373 373
374 test_all(test_intrinsic_default, (v)=>v); 374 test_all(test_intrinsic_default, (v)=>v);
375 test_all(test_intrinsic_default, 375 test_all(test_intrinsic_default,
376 (v)=>{ "use strict"; return class extends v {}}); 376 (v)=>{ "use strict"; return class extends v {}});
377 })(); 377 })();
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698