Bug 1810141 - make docshell/nsIWebNavigation's loadURI actually take a URI object rather than a string, r=nika
Depends on D168390 Differential Revision: https://phabricator.services.mozilla.com/D168391
This commit is contained in:
@@ -966,7 +966,7 @@ nsDocShellTreeOwner::HandleEvent(Event* aEvent) {
|
||||
nsCOMPtr<nsIContentSecurityPolicy> csp;
|
||||
handler->GetCsp(dragEvent, getter_AddRefs(csp));
|
||||
loadURIOptions.mCsp = csp;
|
||||
webnav->LoadURI(url, loadURIOptions);
|
||||
webnav->FixupAndLoadURIString(url, loadURIOptions);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user