зеркало из https://github.com/mozilla/gecko-dev.git
Bug 820971: Ignore the ref when checking to see if the image URI is the document URI. r=bz
--HG-- extra : rebase_source : 021930620f62745a946e9f6e774c20e89e1784f7
This commit is contained in:
Родитель
45b4ea581a
Коммит
1a22065d73
|
@ -558,7 +558,7 @@ nsImageLoadingContent::LoadImage(const nsAString& aNewURI,
|
|||
|
||||
if (aNewURI.IsEmpty() &&
|
||||
doc->GetDocumentURI() &&
|
||||
NS_SUCCEEDED(doc->GetDocumentURI()->Equals(imageURI, &equal)) &&
|
||||
NS_SUCCEEDED(doc->GetDocumentURI()->EqualsExceptRef(imageURI, &equal)) &&
|
||||
equal) {
|
||||
|
||||
// Loading an embedded img from the same URI as the document URI will not work
|
||||
|
|
Загрузка…
Ссылка в новой задаче