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:
jband%netscape.com 2000-10-16 22:34:26 +00:00
parent 63c6283b94
commit 41bbc60365

View File

@ -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;
}