bug 580128 - Bad attempt to make .wrappedJSObject on raw windows only apply to chrome. Fixed later r=nobody I hope!

This commit is contained in:
Blake Kaplan 2010-10-10 15:38:04 -07:00
parent 1b571f0ac4
commit 454d48e5fe

View File

@ -5307,6 +5307,7 @@ nsWindowSH::GetProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
}
if (id == sWrappedJSObject_id) {
OBJ_TO_OUTER_OBJECT(cx, obj);
*vp = OBJECT_TO_JSVAL(obj);
return NS_SUCCESS_I_DID_SOMETHING;
}