Bug 1263286 - Move base-uri CSP check into SetBaseURIUsingFirstBaseWithHref. r=bz
This commit is contained in:
@@ -13232,7 +13232,7 @@ nsDocShell::SetBaseUrlForWyciwyg(nsIContentViewer* aContentViewer)
|
||||
if (baseURI) {
|
||||
nsIDocument* document = aContentViewer->GetDocument();
|
||||
if (document) {
|
||||
rv = document->SetBaseURI(baseURI);
|
||||
document->SetBaseURI(baseURI);
|
||||
}
|
||||
}
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user