Index: modules/webaudio/OscillatorNode.idl |
diff --git a/modules/webaudio/OscillatorNode.idl b/modules/webaudio/OscillatorNode.idl |
index 949eac60c32695668c17a31b39d59360174a820f..0b5962a39bd7a81c748766e27b65d80560a44625 100644 |
--- a/modules/webaudio/OscillatorNode.idl |
+++ b/modules/webaudio/OscillatorNode.idl |
@@ -47,11 +47,11 @@ |
readonly attribute AudioParam frequency; // in Hertz |
readonly attribute AudioParam detune; // in Cents |
- void start(double when); |
- void stop(double when); |
+ [RaisesException] void start(optional double when); |
+ [RaisesException] void stop(optional double when); |
- void noteOn(double when); |
- void noteOff(double when); |
+ [RaisesException, ImplementedAs=start] void noteOn(double when); |
+ [RaisesException, ImplementedAs=stop] void noteOff(double when); |
void setPeriodicWave(PeriodicWave periodicWave); |