[Webkit-unassigned] [Bug 250485] AudioWorkletProcessor fails to load when some parameter descriptors with minValue/maxValue are specified

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 20 13:59:44 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250485

Chris Dumez <cdumez at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://webaudio.github.io/
                   |                            |web-audio-api/#dom-audiowor
                   |                            |kletglobalscope-registerpro
                   |                            |cessor

--- Comment #4 from Chris Dumez <cdumez at apple.com> ---
Relevant specification:
https://webaudio.github.io/web-audio-api/#dom-audioworkletglobalscope-registerprocessor

```
For each descriptor of parameterDescriptorSequence:
1. Let paramName be the value of the member name in descriptor. Throw a NotSupportedError if paramNames already contains paramName value.
2. Append paramName to the paramNames array.
3. Let defaultValue be the value of the member defaultValue in descriptor.
4. Let minValue be the value of the member minValue in descriptor.
5. Let maxValue be the value of the member maxValue in descriptor.
6. If the expresstion minValue <= defaultValue <= maxValue is false, throw an InvalidStateError.
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230120/273474d4/attachment-0001.htm>


More information about the webkit-unassigned mailing list