webaudio: Throw when setting invalid automationRate on AudioBufferSourceNode (#26469)

This commit is contained in:
Shamir Khodzha 2024-02-28 22:24:08 +01:00 committed by GitHub
parent 5c87fe940e
commit 201cdbab17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 56 additions and 22 deletions

View file

@ -14,7 +14,7 @@ enum AutomationRate {
[Exposed=Window]
interface AudioParam {
attribute float value;
attribute AutomationRate automationRate;
[SetterThrows] attribute AutomationRate automationRate;
readonly attribute float defaultValue;
readonly attribute float minValue;
readonly attribute float maxValue;