mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Fixing bug 200038. Fixing bogus assertion triggerd in venkman. r=heikki@netscape.com, sr=peterv@netscape.com
This commit is contained in:
parent
7f11d6545a
commit
4918397165
@ -4818,7 +4818,7 @@ documentNeedsSecurityCheck(JSContext *cx, nsIXPConnectWrappedNative *wrapper)
|
||||
|
||||
#ifdef DEBUG
|
||||
{
|
||||
JSClass *clazz = JS_GET_CLASS(cx, ::JS_GetGlobalObject(cx));
|
||||
JSClass *clazz = JS_GET_CLASS(cx, wrapper_obj);
|
||||
|
||||
NS_ASSERTION(clazz && clazz->flags & JSCLASS_HAS_PRIVATE &&
|
||||
clazz->flags & JSCLASS_PRIVATE_IS_NSISUPPORTS,
|
||||
|
Loading…
Reference in New Issue
Block a user