Bug 1358395 - Part 2: Enable GamepadExtensions Web API the for the release build; r=kip,qdot

MozReview-Commit-ID: BuIKJy3NEHq

--HG--
extra : rebase_source : 731a0ddd01e12c07f3eaaba491ff203527fd40d1
This commit is contained in:
Daosheng Mu 2017-05-19 00:11:45 +08:00
Родитель e3e60c3019
Коммит a720df3b9d
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -382,9 +382,9 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
"GamepadEvent",
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "GamepadHapticActuator", release: false},
"GamepadHapticActuator",
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "GamepadPose", release: false},
"GamepadPose",
// IMPORTANT: Do not change this list without review from a DOM peer!
"HashChangeEvent",
// IMPORTANT: Do not change this list without review from a DOM peer!

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

@ -197,7 +197,7 @@ pref("dom.gamepad.non_standard_events.enabled", false);
#else
pref("dom.gamepad.non_standard_events.enabled", true);
#endif
pref("dom.gamepad.extensions.enabled", false);
pref("dom.gamepad.extensions.enabled", true);
// If this is true, TextEventDispatcher dispatches keydown and keyup events
// even during composition (keypress events are never fired during composition