Closed Bug 1615481 Opened 4 years ago Closed 4 years ago

Fix exceptions through from DataChannel.send() when the message is too big

Categories

(Core :: WebRTC, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

They should be actual TypeError, not a DOMException with name "TypeError".

Priority: -- → P2
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b980bb5c8d8c
Throw the right exception from DataChannel.send() when the message is too big. r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21865 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: