Backed out changeset 5dc08ac77984 (bug 1411725) for causing browser_caching_attributes.js perma failures CLOSED TREE

This commit is contained in:
Ciure Andrei
2019-03-22 10:48:32 +02:00
parent 985ddc91dd
commit 504c9a45ab
3 changed files with 3 additions and 25 deletions

View File

@@ -781,7 +781,9 @@ void XMLHttpRequestMainThread::GetResponseURL(nsAString& aUrl) {
}
nsCOMPtr<nsIURI> responseUrl;
if (NS_FAILED(NS_GetFinalChannelURI(mChannel, getter_AddRefs(responseUrl)))) {
mChannel->GetURI(getter_AddRefs(responseUrl));
if (!responseUrl) {
return;
}