[Bug 25976] DTMFSender.insertDTMF steps should validate the values of duration and interToneGap.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25976

Adam Bergkvist <adam.bergkvist@ericsson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adam.bergkvist@ericsson.com

--- Comment #1 from Adam Bergkvist <adam.bergkvist@ericsson.com> ---
This has been talked about before and if I remember correctly we decided not to
throw, but to clamp the input values to the valid ranges.

Something like:

x. If duration is less than 40 ms, let duration be 40 ms. Otherwise, if
duration is greater than 6000 ms, let duration be 6000 ms.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Sunday, 8 June 2014 15:22:08 UTC