Backed out 2 changesets (bug 1362034) for failing damp | inspector/cold-open.js on a CLOSED TREE

Backed out changeset 8c8925b75aa2 (bug 1362034)
Backed out changeset ff6b05c96094 (bug 1362034)
This commit is contained in:
Andreea Pavel
2018-08-06 20:42:44 +03:00
parent c7bb2480d8
commit 31fb9c007c
95 changed files with 216 additions and 342 deletions

View File

@@ -953,7 +953,6 @@ nsDocShell::LoadURI(nsIURI* aURI,
uint32_t flags = 0;
if (inheritPrincipal) {
MOZ_ASSERT(!nsContentUtils::IsSystemPrincipal(principalToInherit), "Should not inherit SystemPrincipal");
flags |= INTERNAL_LOAD_FLAGS_INHERIT_PRINCIPAL;
}