mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 939420 - Fix shell neuter() function to return |undefined| instead of itself. r=jorendorff
This commit is contained in:
parent
84c0745ae1
commit
b94ff25dcf
@ -1329,7 +1329,11 @@ Neuter(JSContext *cx, unsigned argc, jsval *vp)
|
||||
return false;
|
||||
}
|
||||
|
||||
return JS_NeuterArrayBuffer(cx, obj);
|
||||
if (!JS_NeuterArrayBuffer(cx, obj))
|
||||
return false;
|
||||
|
||||
args.rval().setUndefined();
|
||||
return true;
|
||||
}
|
||||
|
||||
static const JSFunctionSpecWithHelp TestingFunctions[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user