Bug 1125423 part 1 - Attach WindowProxies to globals instead of using innerObject/outerObject hooks. r=bz,luke
This commit is contained in:
@@ -1350,10 +1350,8 @@ _evaluate(NPP npp, NPObject* npobj, NPString *script, NPVariant *result)
|
||||
return false;
|
||||
}
|
||||
|
||||
obj = JS_ObjectToInnerObject(cx, obj);
|
||||
MOZ_ASSERT(obj,
|
||||
"JS_ObjectToInnerObject should never return null with non-null "
|
||||
"input.");
|
||||
obj = js::ToWindowIfWindowProxy(obj);
|
||||
MOZ_ASSERT(obj, "ToWindowIfWindowProxy should never return null");
|
||||
|
||||
if (result) {
|
||||
// Initialize the out param to void
|
||||
|
||||
Reference in New Issue
Block a user