mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 11:13:29 +00:00
No bug, fixing tinderbox orange apparently caused by missing OOM check, r=gal in person
This commit is contained in:
parent
5d366e54b9
commit
9325d29757
@ -321,6 +321,8 @@ js_Arguments(JSContext *cx, JSObject *parent, uint32 argc, JSObject *callee,
|
||||
double *argv, js_ArgsPrivateNative *apn)
|
||||
{
|
||||
JSObject *argsobj = NewArguments(cx, parent, argc, callee);
|
||||
if (!argsobj)
|
||||
return NULL;
|
||||
apn->argv = argv;
|
||||
SetArgsPrivateNative(argsobj, apn);
|
||||
return argsobj;
|
||||
|
Loading…
Reference in New Issue
Block a user