aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/OscillatorNode.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/OscillatorNode.webidl')
-rw-r--r--components/script/dom/webidls/OscillatorNode.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/OscillatorNode.webidl b/components/script/dom/webidls/OscillatorNode.webidl
index ee21e96ffea..f2b4c215561 100644
--- a/components/script/dom/webidls/OscillatorNode.webidl
+++ b/components/script/dom/webidls/OscillatorNode.webidl
@@ -21,9 +21,9 @@ dictionary OscillatorOptions : AudioNodeOptions {
// PeriodicWave periodicWave;
};
-[Exposed=Window,
- Constructor (BaseAudioContext context, optional OscillatorOptions options = {})]
+[Exposed=Window]
interface OscillatorNode : AudioScheduledSourceNode {
+ [Throws] constructor(BaseAudioContext context, optional OscillatorOptions options = {});
[SetterThrows]
attribute OscillatorType type;