mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 01:57:00 +00:00
Bug 789846: Ensure that we unblock unload if we're only pretending that the request finished. r=joe
This commit is contained in:
parent
5d058a3a8d
commit
2d6c2a4bf7
@ -266,6 +266,10 @@ imgStatusTracker::EmulateRequestFinished(imgRequestProxy* aProxy, nsresult aStat
|
||||
}
|
||||
}
|
||||
|
||||
if (mState & stateBlockingOnload) {
|
||||
aProxy->UnblockOnload();
|
||||
}
|
||||
|
||||
if (!(mState & stateRequestStopped)) {
|
||||
aProxy->OnStopRequest(true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user