Bug 608261. Set img.complete to false while the image has a pending request. r=sicking

This commit is contained in:
Boris Zbarsky
2015-02-04 21:05:17 -05:00
parent ad7eab2fbb
commit 3fae5e0244
3 changed files with 42 additions and 0 deletions

View File

@@ -207,6 +207,10 @@ HTMLImageElement::Complete()
return true;
}
if (mPendingRequest) {
return false;
}
uint32_t status;
mCurrentRequest->GetImageStatus(&status);
return