mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
XPCNativeWrappers can confuse the short-circuiting code. bug 409291, r+sr=jst a=beltzner
This commit is contained in:
parent
f1c34acb2b
commit
ca0549b22f
@ -2403,7 +2403,8 @@ nsScriptSecurityManager::doGetObjectPrincipal(JSContext *aCx, JSObject *aObj
|
||||
nsCOMPtr<nsIXPConnectWrappedNative> xpcWrapper =
|
||||
do_QueryInterface(priv);
|
||||
|
||||
NS_ASSERTION(!xpcWrapper,
|
||||
NS_ASSERTION(!xpcWrapper ||
|
||||
!strcmp(jsClass->name, "XPCNativeWrapper"),
|
||||
"Uh, an nsIXPConnectWrappedNative with the "
|
||||
"wrong JSClass or getObjectOps hooks!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user