Bug 1318017: Call GetPrototypeFromConstructor for generator/async function and Intl constructors

[Depends on] Bug 755821: Function() should use the parser's argument
parsing code
This commit is contained in:
janekptacijarabaci 2018-03-16 09:04:55 +01:00 • committed by Roy Tam
commit e7fdd26fde
11 changed files with 586 additions and 53 deletions

View file

@ -21,6 +21,9 @@ GetUnwrappedAsyncFunction(JSFunction* wrapped);
bool
IsWrappedAsyncFunction(JSFunction* fun);
JSObject*
WrapAsyncFunctionWithProto(JSContext* cx, HandleFunction unwrapped, HandleObject proto);
JSObject*
WrapAsyncFunction(JSContext* cx, HandleFunction unwrapped);