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 5d058a3a8d
commit 2d6c2a4bf7

View File

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