Bug 472794 - Deal with XPCNativeWrapper.prototype properly. r+sr=jst

This commit is contained in:
Blake Kaplan 2009-01-15 16:34:55 -08:00
parent 57f49c4364
commit 52a4e552ea

View File

@ -536,7 +536,8 @@ xpc_qsUnwrapThisImpl(JSContext *cx,
else if(XPCNativeWrapper::IsNativeWrapperClass(clazz))
{
wrapper = XPCNativeWrapper::GetWrappedNative(cur);
NS_ASSERTION(wrapper, "XPCNativeWrapper wrapping nothing");
if(!wrapper)
goto next;
}
else if(IsXPCSafeJSObjectWrapperClass(clazz))
{