You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moved async function tests to a new test folder, es7.
Added asyncawait-apis.js test file to cover the API structure defined by
the spec for %AsyncFunction% and %AsyncFunctionPrototype%.
Added functionality test for %AsyncFunction% constructor behavior.
Noticed generator constructor didn't have test for name property; added.
Fixed broken toString of async functions -- they were missing the async
keyword.
Fixed async functions incorrectly having caller and arguments
properties.
assert.areEqual("GeneratorFunction",generatorFunctionConstructor.name,"GeneratorFunction's 'name' property is 'GeneratorFunction'");
164
166
assert.areEqual(generatorFunctionPrototype,generatorFunctionConstructor.prototype,"GeneratorFunction's 'prototype' property is GeneratorFunction.prototype");
165
167
assert.areEqual(1,generatorFunctionConstructor.length,"GeneratorFunction's 'length' property is 1");
0 commit comments