mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 22:44:13 +00:00
Bug 334196 nsXPCWrappedJSClass::GetNamedPropertyAsVariant returns an unitialized value when JS_ValueToId fails
r=jst sr=jst
This commit is contained in:
parent
3d2bf4ae10
commit
36a8d6a84e
@ -311,7 +311,7 @@ nsXPCWrappedJSClass::GetNamedPropertyAsVariant(XPCCallContext& ccx,
|
||||
JSContext* cx = ccx.GetJSContext();
|
||||
JSBool ok;
|
||||
jsid id;
|
||||
nsresult rv;
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
|
||||
AutoScriptEvaluate scriptEval(cx);
|
||||
scriptEval.StartEvaluating();
|
||||
|
Loading…
x
Reference in New Issue
Block a user