diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-30 23:49:41 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-30 23:49:41 +0200 |
commit | 73b55c16d642156c58142d1ce4cfb79229cfadb0 (patch) | |
tree | e298a821b3cd13508c9acd24b8c165114b9b13ca | |
parent | 0695943d2dff6dd8e245fad1309f210f26a0c49c (diff) | |
download | UXP-73b55c16d642156c58142d1ce4cfb79229cfadb0.tar UXP-73b55c16d642156c58142d1ce4cfb79229cfadb0.tar.gz UXP-73b55c16d642156c58142d1ce4cfb79229cfadb0.tar.lz UXP-73b55c16d642156c58142d1ce4cfb79229cfadb0.tar.xz UXP-73b55c16d642156c58142d1ce4cfb79229cfadb0.zip |
Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry
-rw-r--r-- | docshell/base/nsDocShell.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index 62383bc6a..8f924567c 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) { |