aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/AudioBufferSourceNode.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/AudioBufferSourceNode.webidl')
-rw-r--r--components/script/dom/webidls/AudioBufferSourceNode.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/AudioBufferSourceNode.webidl b/components/script/dom/webidls/AudioBufferSourceNode.webidl
index da1222a6935..8744a521ddb 100644
--- a/components/script/dom/webidls/AudioBufferSourceNode.webidl
+++ b/components/script/dom/webidls/AudioBufferSourceNode.webidl
@@ -15,9 +15,9 @@ dictionary AudioBufferSourceOptions {
float playbackRate = 1;
};
-[Exposed=Window,
- Constructor (BaseAudioContext context, optional AudioBufferSourceOptions options = {})]
+[Exposed=Window]
interface AudioBufferSourceNode : AudioScheduledSourceNode {
+ [Throws] constructor(BaseAudioContext context, optional AudioBufferSourceOptions options = {});
[Throws] attribute AudioBuffer? buffer;
readonly attribute AudioParam playbackRate;
readonly attribute AudioParam detune;