Bug 1490044 - Move all prefs used in WebIDL to StaticPrefs. r=bzbarsky

Differential Revision: https://phabricator.services.mozilla.com/D33507
This commit is contained in:
Peter Van der Beken
2019-06-13 09:00:59 +00:00
parent e71934492d
commit 6c1f25a923
48 changed files with 701 additions and 459 deletions

View File

@@ -1597,30 +1597,12 @@ class HTMLInputElement final : public nsGenericHTMLFormElementWithState,
*/
static bool IsDateTimeTypeSupported(uint8_t aDateTimeInputType);
/**
* Checks preference "dom.webkitBlink.filesystem.enabled" to determine if
* webkitEntries should be supported.
*/
static bool IsWebkitFileSystemEnabled();
/**
* Checks preference "dom.input.dirpicker" to determine if file and directory
* entries API should be supported.
*/
static bool IsDirPickerEnabled();
/**
* Checks preference "dom.experimental_forms" to determine if experimental
* implementation of input element should be enabled.
*/
static bool IsExperimentalFormsEnabled();
/**
* Checks preference "dom.forms.datetime" to determine if input date and time
* should be supported.
*/
static bool IsInputDateTimeEnabled();
/**
* Checks preference "dom.forms.datetime.others" to determine if input week,
* month and datetime-local should be supported.