Open Bug 1610824 Opened 6 years ago Updated 3 years ago

createDataChannel may fail for reasons other than bad id

Categories

(Core :: WebRTC: Networking, enhancement, P3)

Unspecified
All
enhancement

Tracking

()

People

(Reporter: jib, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #1547106 +++

Follow-up from review on that bug: "Could DataChannelConnection::Open fail for reasons other than id collisions or id allocation failures? If not now, then someday? Maybe Open needs to return an nsresult or a tuple?"

The spec only allows createDataChannel to throw certain errors, with OperationError perhaps being the most-suited catch-all. But we could at least improve the message text.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.