mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 14:54:25 +00:00
Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user