mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 03:49:37 +00:00
If our image was previously blocked and we're asked to maybe reload it, don't
check whether the URI changed; just try loading (since this time we may not be blocked). Bug 251354 followup, r=sicking, sr=shaver, a=chofmann
This commit is contained in:
parent
308029c048
commit
30a13d4eae
@ -414,7 +414,9 @@ nsImageLoadingContent::ImageURIChanged(const nsAString& aNewURI,
|
||||
rv = StringToURI(aNewURI, doc, getter_AddRefs(imageURI));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (!aForce) {
|
||||
// Skip the URI equality check if our current image was blocked. If
|
||||
// that happened, we really do want to try loading again.
|
||||
if (!aForce && NS_CP_ACCEPTED(mImageBlockingStatus)) {
|
||||
nsCOMPtr<nsIURI> currentURI;
|
||||
GetCurrentURI(getter_AddRefs(currentURI));
|
||||
PRBool equal;
|
||||
|
Loading…
x
Reference in New Issue
Block a user