fix crasher bug 56843 in case of if('wrappedJSObject' in foo). Better solution for bigger problem in the works. a=brendan@mozilla.org r=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81262 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
63c6283b94
commit
41bbc60365
@ -441,7 +441,7 @@ WrappedNative_LookupProperty(JSContext *cx, JSObject *obj, jsid id,
|
||||
JSObject* realObject = GetDoubleWrappedJSObject(cx, wrapper, id);
|
||||
if(realObject)
|
||||
{
|
||||
*objp = realObject;
|
||||
*objp = obj;
|
||||
*propp = XPC_BUILT_IN_PROPERTY;
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user