mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 754202 - Scope the push of the safe js context such that it doesn't include the call to XHR::Send. r=mrbkap,bent
This commit is contained in:
parent
82e093909f
commit
6ea9fc6c38
@ -1147,9 +1147,9 @@ public:
|
||||
MainThreadRun()
|
||||
{
|
||||
nsCOMPtr<nsIVariant> variant;
|
||||
RuntimeService::AutoSafeJSContext cx;
|
||||
|
||||
if (mBody.data()) {
|
||||
RuntimeService::AutoSafeJSContext cx;
|
||||
nsIXPConnect* xpc = nsContentUtils::XPConnect();
|
||||
NS_ASSERTION(xpc, "This should never be null!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user