aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/OfflineAudioContext.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/OfflineAudioContext.webidl')
-rw-r--r--components/script/dom/webidls/OfflineAudioContext.webidl6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/OfflineAudioContext.webidl b/components/script/dom/webidls/OfflineAudioContext.webidl
index ec7bb38be69..ff2d923a096 100644
--- a/components/script/dom/webidls/OfflineAudioContext.webidl
+++ b/components/script/dom/webidls/OfflineAudioContext.webidl
@@ -12,10 +12,10 @@ dictionary OfflineAudioContextOptions {
required float sampleRate;
};
-[Exposed=Window,
- Constructor (OfflineAudioContextOptions contextOptions),
- Constructor (unsigned long numberOfChannels, unsigned long length, float sampleRate)]
+[Exposed=Window]
interface OfflineAudioContext : BaseAudioContext {
+ [Throws] constructor(OfflineAudioContextOptions contextOptions);
+ [Throws] constructor(unsigned long numberOfChannels, unsigned long length, float sampleRate);
readonly attribute unsigned long length;
attribute EventHandler oncomplete;