Bug 789846: Ensure that we unblock unload if we're only pretending that the request finished. r=joe

This commit is contained in:
Kyle Huey 2012-10-09 09:47:14 -07:00
parent 2b3be6c1ca
commit 11b8389ee5

View File

@ -266,6 +266,10 @@ imgStatusTracker::EmulateRequestFinished(imgRequestProxy* aProxy, nsresult aStat
}
}
if (mState & stateBlockingOnload) {
aProxy->UnblockOnload();
}
if (!(mState & stateRequestStopped)) {
aProxy->OnStopRequest(true);
}