Bug 1842974 - Remove dom.dialog_element.enabled pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D183711
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user