Bug 1672303 - part 3: Get rid of "dom.inputevent.datatransfer.enabled" r=smaug

Depends on D94249

Differential Revision: https://phabricator.services.mozilla.com/D94250
This commit is contained in:
Masayuki Nakano 2020-10-21 09:47:48 +00:00
parent 85e3fc69f1
commit b16b43c4eb
2 changed files with 1 additions and 8 deletions

View File

@ -36,7 +36,7 @@ dictionary InputEventInit : UIEventInit
// https://rawgit.com/w3c/input-events/v1/index.html#interface-InputEvent
partial interface InputEvent
{
[NeedsCallerType, Pref="dom.inputevent.datatransfer.enabled"]
[NeedsCallerType]
readonly attribute DataTransfer? dataTransfer;
// Enable `getTargetRanges()` only when `beforeinput` event is enabled
// because this may be used for feature detection of `beforeinput` event
@ -47,7 +47,6 @@ partial interface InputEvent
partial dictionary InputEventInit
{
[Pref="dom.inputevent.datatransfer.enabled"]
DataTransfer? dataTransfer = null;
[Pref="dom.input_events.beforeinput.enabled"]
sequence<StaticRange> targetRanges = [];

View File

@ -2036,12 +2036,6 @@
value: false
mirror: always
# Is support for InputEvent.dataTransfer enabled?
- name: dom.inputevent.datatransfer.enabled
type: bool
value: true
mirror: always
# Whether to allow or disallow web apps to cancel `beforeinput` events caused
# by MozEditableElement#setUserInput() which is used by autocomplete, autofill
# and password manager.