Bug 1751967 - Remove dom.event.wheelDelta.enabled. r=webidl,peterv

We shipped it as true successfully for a long while (since version 90).

Differential Revision: https://phabricator.services.mozilla.com/D136917
This commit is contained in:
Emilio Cobos Álvarez 2022-01-25 19:07:23 +00:00
Родитель 60d7305ca3
Коммит 4c8f11498c
3 изменённых файлов: 3 добавлений и 10 удалений

Просмотреть файл

@ -820,7 +820,6 @@ function runTest()
["layout.css.devPixelsPerPx", 1.0],
["dom.event.wheel-deltaMode-lines.disabled", true],
["dom.event.wheelDelta.enabled", true],
["mousewheel.default.delta_multiplier_x", 100],
["mousewheel.default.delta_multiplier_y", 100],

Просмотреть файл

@ -20,11 +20,11 @@ interface WheelEvent : MouseEvent
const unsigned long DOM_DELTA_PAGE = 0x02;
// Legacy MouseWheelEvent API replaced by standard WheelEvent API.
[Pref="dom.event.wheelDelta.enabled", NeedsCallerType]
[NeedsCallerType]
readonly attribute long wheelDeltaX;
[Pref="dom.event.wheelDelta.enabled", NeedsCallerType]
[NeedsCallerType]
readonly attribute long wheelDeltaY;
[Pref="dom.event.wheelDelta.enabled", NeedsCallerType]
[NeedsCallerType]
readonly attribute long wheelDelta;
[NeedsCallerType] readonly attribute double deltaX;

Просмотреть файл

@ -2145,12 +2145,6 @@
value: ""
mirror: never
# Whether WheelEvent should expose wheelDelta / wheelDeltaX / wheelDeltaY
- name: dom.event.wheelDelta.enabled
type: bool
value: true
mirror: always
#if defined(XP_MACOSX)
# Whether to disable treating ctrl click as right click
- name: dom.event.treat_ctrl_click_as_right_click.disabled