mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-30 19:17:31 +09:00
Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry
This commit is contained in:
parent
5bbef1bbc3
commit
fab9589713
1 changed files with 0 additions and 5 deletions
|
|
@ -12413,11 +12413,6 @@ nsDocShell::AddToSessionHistory(nsIURI* aURI, nsIChannel* aChannel,
|
||||||
discardLayoutState = ShouldDiscardLayoutState(httpChannel);
|
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();
|
nsCOMPtr<nsILoadInfo> loadInfo = aChannel->GetLoadInfo();
|
||||||
if (loadInfo) {
|
if (loadInfo) {
|
||||||
if (!triggeringPrincipal) {
|
if (!triggeringPrincipal) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue