mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 774706 - Ensure script to be serialized is not gray. r=mccr8
This commit is contained in:
parent
c22525a970
commit
1597f0648d
@ -2010,9 +2010,8 @@ nsJSContext::Serialize(nsIObjectOutputStream* aStream, JSScript* aScriptObject)
|
|||||||
if (!aScriptObject)
|
if (!aScriptObject)
|
||||||
return NS_ERROR_FAILURE;
|
return NS_ERROR_FAILURE;
|
||||||
|
|
||||||
return nsContentUtils::XPConnect()->WriteScript(aStream, mContext, aScriptObject);
|
return nsContentUtils::XPConnect()->WriteScript(aStream, mContext,
|
||||||
xpc_UnmarkGrayScript(aScriptObject);
|
xpc_UnmarkGrayScript(aScriptObject));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nsresult
|
nsresult
|
||||||
|
Loading…
Reference in New Issue
Block a user