aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/UIEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/UIEvent.webidl')
-rw-r--r--components/script/dom/webidls/UIEvent.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/UIEvent.webidl b/components/script/dom/webidls/UIEvent.webidl
index 20be43aec90..b49e5d5701b 100644
--- a/components/script/dom/webidls/UIEvent.webidl
+++ b/components/script/dom/webidls/UIEvent.webidl
@@ -3,8 +3,8 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/uievents/#interface-uievent
-[Constructor(DOMString type, optional UIEventInit eventInitDict = {})]
interface UIEvent : Event {
+ [Throws] constructor(DOMString type, optional UIEventInit eventInitDict = {});
// readonly attribute WindowProxy? view;
readonly attribute Window? view;
readonly attribute long detail;