- From: <bugzilla@jessica.w3.org>
- Date: Sun, 08 Sep 2013 00:04:41 +0000
- To: public-audio@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17368
Ralph Giles <giles@mozilla.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |giles@mozilla.com
--- Comment #1 from Ralph Giles <giles@mozilla.com> ---
INVALID_STATE_ERR makes sense in that type='custom' can't be set without a
corresponding PeriodicWave object to use in generating the data.
However, typically setting a WebIDL enum to an invalid value just fails
silently. That strikes me as less surprising, although it's no easier to handle
in our implementation. The text could be clarified:
The shape of the periodic waveform. Any of the defined OscillatorType enum
values may be assigned to select the corresponding waveform. The exception is
"custom", which is a special value only set by the setPeriodicWave() method.
Assignment of any other value is silently ignored. The default value is "sine".
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Sunday, 8 September 2013 00:04:43 UTC