зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
ea3bf5bae9
Коммит
67b8f9038a
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче