aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/WheelEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/WheelEvent.webidl')
-rw-r--r--components/script/dom/webidls/WheelEvent.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/WheelEvent.webidl b/components/script/dom/webidls/WheelEvent.webidl
index b202d7f2c24..15fc033a21b 100644
--- a/components/script/dom/webidls/WheelEvent.webidl
+++ b/components/script/dom/webidls/WheelEvent.webidl
@@ -3,9 +3,9 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/uievents/#interface-wheelevent
-[Constructor(DOMString typeArg, optional WheelEventInit wheelEventInitDict = {}),
- Exposed=Window]
+[Exposed=Window]
interface WheelEvent : MouseEvent {
+ [Throws] constructor(DOMString typeArg, optional WheelEventInit wheelEventInitDict = {});
const unsigned long DOM_DELTA_PIXEL = 0x00;
const unsigned long DOM_DELTA_LINE = 0x01;
const unsigned long DOM_DELTA_PAGE = 0x02;