mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Fix for bug 401612 (Multiple dialogs (about, add-ons mgr, etc.) will not open (nsIDOMJSWindow.openDialog exception)). r=smaug, sr=jst, a=blocking1.9+ for M9.
This commit is contained in:
parent
9ed0904e80
commit
8048d70036
@ -3766,8 +3766,8 @@ nsJSArgArray::nsJSArgArray(JSContext *aContext, PRUint32 argc, jsval *argv,
|
||||
for (PRUint32 i = 0; i < argc; ++i)
|
||||
mArgv[i] = argv[i];
|
||||
}
|
||||
if (argc > 0)
|
||||
*prv = NS_HOLD_JS_OBJECTS(this, nsJSArgArray);
|
||||
|
||||
*prv = argc > 0 ? NS_HOLD_JS_OBJECTS(this, nsJSArgArray) : NS_OK;
|
||||
}
|
||||
|
||||
nsJSArgArray::~nsJSArgArray()
|
||||
|
Loading…
Reference in New Issue
Block a user