Open Bug 1449907 Opened 7 years ago Updated 3 years ago

RTCDataChannel.send, TypeError vs DOMException(name='TypeError')

Categories

(Core :: WebRTC, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox61 --- affected

People

(Reporter: lgrahl, Unassigned)

Details

(Keywords: dev-doc-needed)

It seems we're raising the wrong exception (DOMException) in case the message exceeds the maximum message size in RTCDataChannel.send. Depends on the outcome of https://github.com/w3c/webrtc-pc/issues/1817
Rank: 25
Priority: -- → P3
Can someone take a look at this? We should raise `TypeError` instead. Should be easy to fix. :)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.