aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/FocusEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/FocusEvent.webidl')
-rw-r--r--components/script/dom/webidls/FocusEvent.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/FocusEvent.webidl b/components/script/dom/webidls/FocusEvent.webidl
index 67dec33a952..1d5e4ee4bea 100644
--- a/components/script/dom/webidls/FocusEvent.webidl
+++ b/components/script/dom/webidls/FocusEvent.webidl
@@ -3,9 +3,9 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/uievents/#interface-FocusEvent
-[Constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict = {}),
- Exposed=Window]
+[Exposed=Window]
interface FocusEvent : UIEvent {
+ [Throws] constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict = {});
readonly attribute EventTarget? relatedTarget;
};