summaryrefslogtreecommitdiff
path: root/docshell/base
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 23:49:41 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 23:49:41 +0200
commit6f75c4c22275621766d960de1407585a6b49c58b (patch)
treee298a821b3cd13508c9acd24b8c165114b9b13ca /docshell/base
parent9c400765f169f99e11ed52d3b191912eaad63039 (diff)
downloaduxp-6f75c4c22275621766d960de1407585a6b49c58b.tar.gz
Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry
Diffstat (limited to 'docshell/base')
-rw-r--r--docshell/base/nsDocShell.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp
index 62383bc6ae..8f924567c3 100644
--- a/docshell/base/nsDocShell.cpp
+++ b/docshell/base/nsDocShell.cpp
@@ -12413,11 +12413,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) {