This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25837 - throw error when setting invalid parameters to DTMF sender
Summary: throw error when setting invalid parameters to DTMF sender
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Web RTC Working Group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-20 20:40 UTC by Cullen Jennings
Modified: 2014-06-18 07:33 UTC (History)
4 users (show)

See Also:


Attachments

Description Cullen Jennings 2014-05-20 20:40:04 UTC

    
Comment 1 Cullen Jennings 2014-05-20 20:40:50 UTC
Dom suggested making unslighed long and clamped
Comment 2 Martin Thomson 2014-05-21 15:12:15 UTC
Clamped would prevent certain classes of error, but not all.
Comment 3 Kiran 2014-06-18 07:25:49 UTC
This is fixed in latest editors draft, 20140617, [1]

4. If toneBuffer contains any unrecognized characters, throw an InvalidCharacterError exception and abort these steps.

I think we can close this bug ...

[1] http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCDTMFSender-insertDTMF-void-DOMString-tones-long-duration-long-interToneGap
Comment 4 Adam Bergkvist 2014-06-18 07:33:16 UTC
True.

Closing as fixed even though the discussion didn't take part in this bug.