aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/KeyboardEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/KeyboardEvent.webidl')
-rw-r--r--components/script/dom/webidls/KeyboardEvent.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/KeyboardEvent.webidl b/components/script/dom/webidls/KeyboardEvent.webidl
index f30265a87d8..85a74ead258 100644
--- a/components/script/dom/webidls/KeyboardEvent.webidl
+++ b/components/script/dom/webidls/KeyboardEvent.webidl
@@ -7,8 +7,8 @@
*
*/
-[Constructor(DOMString typeArg, optional KeyboardEventInit keyboardEventInitDict = {})]
interface KeyboardEvent : UIEvent {
+ [Throws] constructor(DOMString typeArg, optional KeyboardEventInit keyboardEventInitDict = {});
// KeyLocationCode
const unsigned long DOM_KEY_LOCATION_STANDARD = 0x00;
const unsigned long DOM_KEY_LOCATION_LEFT = 0x01;