Issue #1390 - Clean up presentation api leftovers

This commit is contained in:
Matt A. Tobin 2021-01-25 17:19:43 -05:00 • committed by roytam1
commit d4324dc064
9 changed files with 6 additions and 134 deletions

View file

@ -770,11 +770,6 @@ TabChild::NotifyTabContextUpdated(bool aIsPreallocated)
if (aIsPreallocated) {
nsDocShell::Cast(docShell)->SetOriginAttributes(OriginAttributesRef());
}
// Set SANDBOXED_AUXILIARY_NAVIGATION flag if this is a receiver page.
if (!PresentationURL().IsEmpty()) {
docShell->SetSandboxFlags(SANDBOXED_AUXILIARY_NAVIGATION);
}
}
void