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

@@ -5224,10 +5224,6 @@ bool HTMLInputElement::ParseAttribute(int32_t aNamespaceID, nsAtom* aAttribute,
return ParseAlignValue(aValue, aResult);
}
if (aAttribute == nsGkAtoms::formmethod) {
if (StaticPrefs::dom_dialog_element_enabled() || IsInChromeDocument()) {
return aResult.ParseEnumValue(aValue, kFormMethodTableDialogEnabled,
false);
}
return aResult.ParseEnumValue(aValue, kFormMethodTable, false);
}
if (aAttribute == nsGkAtoms::formenctype) {