aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/TestBinding.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/TestBinding.webidl')
-rw-r--r--components/script/dom/webidls/TestBinding.webidl8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/TestBinding.webidl b/components/script/dom/webidls/TestBinding.webidl
index b07fe213cdd..0621be01858 100644
--- a/components/script/dom/webidls/TestBinding.webidl
+++ b/components/script/dom/webidls/TestBinding.webidl
@@ -86,13 +86,13 @@ dictionary TestDictionaryDefaults {
object? nullableObjectValue = null;
};
-[Constructor,
- Constructor(sequence<unrestricted double> numberSequence),
- Constructor(unrestricted double num),
- Pref="dom.testbinding.enabled",
+[Pref="dom.testbinding.enabled",
Exposed=(Window,Worker)
]
interface TestBinding {
+ [Throws] constructor();
+ [Throws] constructor(sequence<unrestricted double> numberSequence);
+ [Throws] constructor(unrestricted double num);
attribute boolean booleanAttribute;
attribute byte byteAttribute;
attribute octet octetAttribute;