Bug 1469916, r=ckerschb,jkt

This commit is contained in:
Gijs Kruitbosch
2018-06-22 15:41:39 +01:00
parent fb0f3ab264
commit 567d31a745
27 changed files with 313 additions and 59 deletions

View File

@@ -153,7 +153,7 @@ nsMacShellService::SetDesktopBackground(Element* aElement,
loadContext = do_QueryInterface(docShell);
}
return wbp->SaveURI(imageURI, 0,
return wbp->SaveURI(imageURI, aElement->NodePrincipal(), 0,
docURI, aElement->OwnerDoc()->GetReferrerPolicy(),
nullptr, nullptr,
mBackgroundFile, loadContext);