Bug 1630691: Part 2 - Get rid of the "dom.mozBrowserFramesEnabled" pref. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D71227
This commit is contained in:
@@ -255,9 +255,8 @@ nsresult nsGenericHTMLFrameElement::AfterSetAttr(
|
||||
}
|
||||
}
|
||||
} else if (aName == nsGkAtoms::mozbrowser) {
|
||||
mReallyIsBrowser =
|
||||
!!aValue && StaticPrefs::dom_mozBrowserFramesEnabled() &&
|
||||
XRE_IsParentProcess() && NodePrincipal()->IsSystemPrincipal();
|
||||
mReallyIsBrowser = !!aValue && XRE_IsParentProcess() &&
|
||||
NodePrincipal()->IsSystemPrincipal();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user