Index: Source/modules/webaudio/AudioBufferSourceNode.idl |
diff --git a/Source/modules/webaudio/AudioBufferSourceNode.idl b/Source/modules/webaudio/AudioBufferSourceNode.idl |
index c1132b5ea8e4020992f7173042eed22c82923de7..946b28b122fcfd5ed9c784b7b643d77989d0729f 100644 |
--- a/Source/modules/webaudio/AudioBufferSourceNode.idl |
+++ b/Source/modules/webaudio/AudioBufferSourceNode.idl |
@@ -43,14 +43,14 @@ |
attribute double loopStart; |
attribute double loopEnd; |
- [MeasureAs=WebAudioStart] void start(optional double when, optional double grainOffset, optional double grainDuration); |
- void stop(optional double when); |
+ [RaisesException, MeasureAs=WebAudioStart] void start(optional double when, optional double grainOffset, optional double grainDuration); |
+ [RaisesException] void stop(optional double when); |
[DeprecateAs=WebAudioLooping, ImplementedAs=loop] attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility. |
- [MeasureAs=LegacyWebAudio] void noteOn(double when); |
- [MeasureAs=LegacyWebAudio] void noteGrainOn(double when, double grainOffset, double grainDuration); |
- void noteOff(double when); |
+ [RaisesException, ImplementedAs=start, MeasureAs=LegacyWebAudio] void noteOn(double when); |
+ [RaisesException, MeasureAs=LegacyWebAudio] void noteGrainOn(double when, double grainOffset, double grainDuration); |
+ [RaisesException, ImplementedAs=stop] void noteOff(double when); |
attribute EventHandler onended; |
}; |