Bug 1642344 - convert HTMLInputElement VarCache prefs to StaticPrefs. r=geckoview-reviewers,agi.

converts:
* dom.experimental_forms
* dom.forms.datetime.others
* dom.forms.color

Differential Revision: https://phabricator.services.mozilla.com/D77850
This commit is contained in:
Alexis Beingessner
2020-06-09 14:45:50 +00:00
parent f34387fcc7
commit cfc06af6a1
5 changed files with 25 additions and 75 deletions

View File

@@ -1592,24 +1592,6 @@ class HTMLInputElement final : public TextControlElement,
*/
static bool IsDateTimeTypeSupported(uint8_t aDateTimeInputType);
/**
* Checks preference "dom.experimental_forms" to determine if experimental
* implementation of input element should be enabled.
*/
static bool IsExperimentalFormsEnabled();
/**
* Checks preference "dom.forms.datetime.others" to determine if input week,
* month and datetime-local should be supported.
*/
static bool IsInputDateTimeOthersEnabled();
/**
* Checks preference "dom.forms.color" to determine if date/time related
* types should be supported.
*/
static bool IsInputColorEnabled();
struct nsFilePickerFilter {
nsFilePickerFilter() : mFilterMask(0) {}