summaryrefslogtreecommitdiffstats
path: root/docshell/base
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 23:48:06 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 23:48:06 +0200
commitb3a9d03344cfc41f3b3fac47e955bb2e82d4af24 (patch)
tree92500cfe900a31821174e935293fd5673db31225 /docshell/base
parentecea4c51dc68427e4361a5d7204a7ca4ad9f8c4d (diff)
downloadUXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.tar
UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.tar.gz
UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.tar.lz
UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.tar.xz
UXP-b3a9d03344cfc41f3b3fac47e955bb2e82d4af24.zip
Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal
Diffstat (limited to 'docshell/base')
-rw-r--r--docshell/base/nsDocShell.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp
index 5c002357f..62383bc6a 100644
--- a/docshell/base/nsDocShell.cpp
+++ b/docshell/base/nsDocShell.cpp
@@ -12663,9 +12663,6 @@ nsDocShell::LoadHistoryEntry(nsISHEntry* aEntry, uint32_t aLoadType)
srcdoc = NullString();
}
- // If there is no valid triggeringPrincipal, we deny the load
- MOZ_ASSERT(triggeringPrincipal,
- "need a valid triggeringPrincipal to load from history");
if (!triggeringPrincipal) {
triggeringPrincipal = nsContentUtils::GetSystemPrincipal();
}