Bug 1842974 - Remove dom.dialog_element.enabled pref r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D183711
This commit is contained in:
Gregory Pappas
2023-07-17 10:02:53 +00:00
parent e23cb3cc2d
commit 853e673a0f
22 changed files with 4 additions and 79 deletions

View File

@@ -327,10 +327,6 @@ bool HTMLFormElement::ParseAttribute(int32_t aNamespaceID, nsAtom* aAttribute,
nsAttrValue& aResult) {
if (aNamespaceID == kNameSpaceID_None) {
if (aAttribute == nsGkAtoms::method) {
if (StaticPrefs::dom_dialog_element_enabled() || IsInChromeDocument()) {
return aResult.ParseEnumValue(aValue, kFormMethodTableDialogEnabled,
false);
}
return aResult.ParseEnumValue(aValue, kFormMethodTable, false);
}
if (aAttribute == nsGkAtoms::enctype) {