Bug 1643493 - Remove dead ParentShowInfo::fullscreenAllowed. r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D78392
This commit is contained in:
Emilio Cobos Álvarez
2020-06-05 00:40:59 +00:00
parent 0ae3d3de9e
commit 6877cbaf7c
4 changed files with 7 additions and 11 deletions

View File

@@ -1753,6 +1753,8 @@ nsDocShell::GetFullscreenAllowed(bool* aFullscreenAllowed) {
if (!win) {
return NS_OK;
}
// FIXME(emilio, bug 1606660): What makes this work in fission?
if (nsCOMPtr<Element> frameElement = win->GetFrameElementInternal()) {
if (frameElement->IsXULElement()) {
if (frameElement->HasAttr(kNameSpaceID_None,