Home
last modified time | relevance | path

Searched refs:GeneratorFunction (Results 1 – 7 of 7) sorted by relevance

/external/v8/test/mjsunit/es6/
Dgenerators-runtime.js36 var GeneratorFunction = GeneratorFunctionPrototype.constructor; variable
78 assertSame(GeneratorFunction, constructor_desc.value);
138 assertSame(GeneratorFunctionPrototype, GeneratorFunction.prototype);
139 assertTrue(g instanceof GeneratorFunction);
141 assertSame(Function, Object.getPrototypeOf(GeneratorFunction));
148 assertTrue(!(f instanceof GeneratorFunction));
150 assertTrue((new GeneratorFunction()) instanceof GeneratorFunction);
151 assertTrue(GeneratorFunction() instanceof GeneratorFunction);
154 var prototype_desc = Object.getOwnPropertyDescriptor(GeneratorFunction,
Dgenerators-iteration.js32 var GeneratorFunction = (function*(){yield 1;}).__proto__.constructor; class
103 if (g instanceof GeneratorFunction) {
382 TestGenerator(GeneratorFunction(),
387 TestGenerator(new GeneratorFunction(),
392 TestGenerator(GeneratorFunction('yield 1;'),
398 function() { return GeneratorFunction('x', 'y', 'yield x + y;')(1, 2) },
Dobject-literals-method.js158 var GeneratorFunction = function*() {}.__proto__.constructor; class
237 assertEquals(GeneratorFunction.prototype,
Dclasses-subclass-builtins.js590 var GeneratorFunction = (function*() {}).constructor; class
591 class A extends GeneratorFunction {
617 assertTrue(func instanceof GeneratorFunction);
619 checkPrototypeChain(func, [A, GeneratorFunction, Function, Object]);
/external/v8/src/js/
Dgenerator.js15 var GeneratorFunction = utils.ImportNow("GeneratorFunction");
101 GeneratorFunction, DONT_ENUM | READ_ONLY);
102 %InternalSetPrototype(GeneratorFunction, GlobalFunction);
/external/v8/test/test262/
Dtest262.status580 'built-ins/GeneratorFunction/*': [SKIP],
/external/v8/
DChangeLog2569 Reland "[es6] Fix Function and GeneratorFunction built-ins subclassing."
2657 [es6] Fix Function and GeneratorFunction built-ins subclassing (issues