Issue #2532 - Default pref check to true

This commit is contained in:
Moonchild 2024-06-15 11:42:00 +02:00 committed by roytam1
commit f598fe63cd
3 changed files with 3 additions and 3 deletions

View file

@ -321,7 +321,7 @@ HTMLFormElement::ParseAttribute(int32_t aNamespaceID,
{
if (aNamespaceID == kNameSpaceID_None) {
if (aAttribute == nsGkAtoms::method) {
if (Preferences::GetBool("dom.dialog_element.enabled", false)) {
if (Preferences::GetBool("dom.dialog_element.enabled", true)) {
return aResult.ParseEnumValue(aValue, kFormMethodTableDialogEnabled, false);
}
return aResult.ParseEnumValue(aValue, kFormMethodTable, false);