зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry. r=bz
--HG-- extra : rebase_source : 98d00f4a448423cf9bd8b80f1f95c6862ac6f930
This commit is contained in:
Родитель
b7941e38ab
Коммит
fa5656d4cb
|
@ -12350,11 +12350,6 @@ nsDocShell::AddToSessionHistory(nsIURI* aURI, nsIChannel* aChannel,
|
|||
discardLayoutState = ShouldDiscardLayoutState(httpChannel);
|
||||
}
|
||||
|
||||
// XXX Bug 1286838: Replace channel owner with loadInfo triggeringPrincipal
|
||||
nsCOMPtr<nsISupports> owner;
|
||||
aChannel->GetOwner(getter_AddRefs(owner));
|
||||
triggeringPrincipal = do_QueryInterface(owner);
|
||||
|
||||
nsCOMPtr<nsILoadInfo> loadInfo = aChannel->GetLoadInfo();
|
||||
if (loadInfo) {
|
||||
if (!triggeringPrincipal) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче