Open jan-ivar opened 3 months ago
The spec mentions only two sources of "data-channel-failure":
The first one fires error then close, the second only error. A mistake?
error
close
But we probably also need a new section on what to do with datachannel runtime errors like receiving SCTP ABORT.
According to https://wpt.fyi/results/webrtc/RTCDataChannel-close.html both error and close should fire.
We should probably align with implementations here.
The spec mentions only two sources of "data-channel-failure":
The first one fires
error
thenclose
, the second onlyerror
. A mistake?But we probably also need a new section on what to do with datachannel runtime errors like receiving SCTP ABORT.
According to https://wpt.fyi/results/webrtc/RTCDataChannel-close.html both
error
andclose
should fire.We should probably align with implementations here.