Index: modules/webaudio/AudioParam.idl |
diff --git a/modules/webaudio/AudioParam.idl b/modules/webaudio/AudioParam.idl |
index e612201edc5be175d6a4ad67afcb77a48a0e8672..ce6ec86d5d25d434e089adbdec03d6dfb359e256 100644 |
--- a/modules/webaudio/AudioParam.idl |
+++ b/modules/webaudio/AudioParam.idl |
@@ -27,27 +27,27 @@ |
*/ |
[ |
- WillBeGarbageCollected, |
+ GarbageCollected, |
Conditional=WEB_AUDIO |
] interface AudioParam { |
attribute float value; |
readonly attribute float defaultValue; |
// Parameter automation. |
- void setValueAtTime(float value, double time); |
- void linearRampToValueAtTime(float value, double time); |
+ [RaisesException] void setValueAtTime(float value, double time); |
+ [RaisesException] void linearRampToValueAtTime(float value, double time); |
[RaisesException] void exponentialRampToValueAtTime(float value, double time); |
// Exponentially approach the target with a rate having the given time constant. |
- void setTargetAtTime(float target, double time, double timeConstant); |
+ [RaisesException] void setTargetAtTime(float target, double time, double timeConstant); |
// Sets an array of arbitrary parameter values starting at time for the given duration. |
// The number of values will be scaled to fit into the desired duration. |
// FIXMEDART(ager): Auto-generate this custom method when the info about |
// retaining typed arrays is in the IDL. |
- [DartCustom] void setValueCurveAtTime(Float32Array values, double time, double duration); |
+ [RaisesException, DartCustom] void setValueCurveAtTime(Float32Array values, double time, double duration); |
// Cancels all scheduled parameter changes with times greater than or equal to startTime. |
- void cancelScheduledValues(double startTime); |
+ [RaisesException] void cancelScheduledValues(double startTime); |
}; |