Closed
Bug 859471
Opened 12 years ago
Closed 7 years ago
Sending a message in data channels with an empty string - silent failure without developer notification
Categories
(Core :: WebRTC: Networking, defect, P4)
Core
WebRTC: Networking
Tracking
()
RESOLVED
DUPLICATE
of bug 1315782
backlog | webrtc/webaudio+ |
People
(Reporter: jsmith, Assigned: jesup)
Details
(Whiteboard: [spec-issue])
Attachments
(1 file)
7.45 KB,
text/html
|
Details |
STR:
1. Load the attached test case
2. Select Setup Handshake
3. Select Local DC Send String Message
4. Look at the web console and error console
Expected:
This is debatable, but if I try to called to send with no data provided, I would likely expect that some sort of error or warning would be fired. We probably shouldn't send the data over to the other channel either, given that there's no data to be sent.
Actual:
Calling send with an empty string silently fails without developer notification - no onMessage event fires on the other channel either. It might make sense to not call onMessage with a message with no data, but if that case happens, I would expect that providing no data into the send parameter would result in an error.
Assignee | ||
Comment 1•12 years ago
|
||
Need to define in the spec what should happen.
Assignee: nobody → rjesup
Priority: -- → P3
Whiteboard: [WebRTC] [blocking-webrtc-][spec-issue]
Updated•10 years ago
|
backlog: --- → webRTC+
Rank: 35
Whiteboard: [WebRTC] [blocking-webrtc-][spec-issue] → [spec-issue]
Comment 2•8 years ago
|
||
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Comment 3•7 years ago
|
||
Duplicate of bug 1315782
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•