зеркало из https://github.com/mozilla/gecko-dev.git
Bug 700195 - Propagate error in netscape_security_isPrivilegeEnabled. r=bholley
--HG-- extra : rebase_source : bcf741d0e8aa5838719610d5ae966915c926e489
This commit is contained in:
Родитель
903b7da5ce
Коммит
804860891e
|
@ -144,6 +144,8 @@ netscape_security_isPrivilegeEnabled(JSContext *cx, uintN argc, jsval *vp)
|
|||
if (NS_FAILED(rv))
|
||||
result = JS_FALSE;
|
||||
}
|
||||
} else {
|
||||
return JS_FALSE;
|
||||
}
|
||||
JS_SET_RVAL(cx, vp, BOOLEAN_TO_JSVAL(result));
|
||||
return JS_TRUE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче