From b3a9d03344cfc41f3b3fac47e955bb2e82d4af24 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Mon, 30 Apr 2018 23:48:06 +0200 Subject: Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal --- docshell/base/nsDocShell.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'docshell/base/nsDocShell.cpp') 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(); } -- cgit v1.2.3