diff options
Diffstat (limited to 'components/script/dom/webidls/GamepadEvent.webidl')
-rw-r--r-- | components/script/dom/webidls/GamepadEvent.webidl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/webidls/GamepadEvent.webidl b/components/script/dom/webidls/GamepadEvent.webidl index ea40fd4261c..0da800bafe2 100644 --- a/components/script/dom/webidls/GamepadEvent.webidl +++ b/components/script/dom/webidls/GamepadEvent.webidl @@ -1,10 +1,11 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ // https://w3c.github.io/gamepad/#gamepadevent-interface -[Pref="dom.gamepad.enabled", Constructor(DOMString type, GamepadEventInit eventInitDict)] +[Exposed=Window, Pref="dom.gamepad.enabled"] interface GamepadEvent : Event { + [Throws] constructor(DOMString type, GamepadEventInit eventInitDict); readonly attribute Gamepad gamepad; }; |