aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/GainNode.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/GainNode.webidl')
-rw-r--r--components/script/dom/webidls/GainNode.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/GainNode.webidl b/components/script/dom/webidls/GainNode.webidl
index 97b205e63e9..1247aeda95d 100644
--- a/components/script/dom/webidls/GainNode.webidl
+++ b/components/script/dom/webidls/GainNode.webidl
@@ -10,8 +10,8 @@ dictionary GainOptions : AudioNodeOptions {
float gain = 1.0;
};
-[Exposed=Window,
- Constructor (BaseAudioContext context, optional GainOptions options = {})]
+[Exposed=Window]
interface GainNode : AudioNode {
+ [Throws] constructor(BaseAudioContext context, optional GainOptions options = {});
readonly attribute AudioParam gain;
};