bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen

This commit is contained in:
Patrick McManus
2015-06-19 17:11:42 -04:00
parent f74e8cf2a2
commit 5b5cf0d404
11 changed files with 87 additions and 33 deletions

View File

@@ -316,7 +316,7 @@ HTMLLinkElement::UpdatePreconnect()
if (owner) {
nsCOMPtr<nsIURI> uri = GetHrefURI();
if (uri) {
owner->MaybePreconnect(uri);
owner->MaybePreconnect(uri, GetCORSMode());
}
}
}