diff options
Diffstat (limited to 'components/script/dom/webidls/BaseAudioContext.webidl')
-rw-r--r-- | components/script/dom/webidls/BaseAudioContext.webidl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/BaseAudioContext.webidl b/components/script/dom/webidls/BaseAudioContext.webidl index 92564b29a5f..9147ca5ed58 100644 --- a/components/script/dom/webidls/BaseAudioContext.webidl +++ b/components/script/dom/webidls/BaseAudioContext.webidl @@ -24,13 +24,13 @@ interface BaseAudioContext : EventTarget { readonly attribute AudioContextState state; Promise<void> resume(); attribute EventHandler onstatechange; - AudioBuffer createBuffer(unsigned long numberOfChannels, - unsigned long length, - float sampleRate); + [Throws] AudioBuffer createBuffer(unsigned long numberOfChannels, + unsigned long length, + float sampleRate); // Promise<AudioBuffer> decodeAudioData(ArrayBuffer audioData, // optional DecodeSuccessCallback successCallback, // optional DecodeErrorCallback errorCallback); - // AudioBufferSourceNode createBufferSource(); + AudioBufferSourceNode createBufferSource(); // ConstantSourceNode createConstantSource(); // ScriptProcessorNode createScriptProcessor(optional unsigned long bufferSize = 0, // optional unsigned long numberOfInputChannels = 2, |