Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal

This commit is contained in:
janekptacijarabaci
2018-04-30 23:48:06 +02:00
committed by Roy Tam
parent ec9f22177d
commit 3f7f553a82
2 changed files with 0 additions and 7 deletions
-3
View File
@@ -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();
}