Open Bug 1911667 Opened 1 year ago Updated 1 year ago

DataChannels don't wait for pending data to be sent on close (and don't fire close event then)

Categories

(Core :: WebRTC, defect, P3)

defect

Tracking

()

People

(Reporter: jib, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [wpt])

https://w3c.github.io/webrtc-pc/#closing-procedure says: "Finish sending all currently pending messages of the channel. "

Syncing wpt PR 45357 introduced a new RTCDataChannel-send-close.html for this that Firefox fails even after the crash in bug 1888232 goes away (the upstream version doesn't have the busy-loop that caused the crash in bug 1888232, but the tests fail).

Firefox appears to stop sending data when close() is called, but also doesn't fire the close event, which is strange.

Summary: DataChannels don't wait for pending data to be sent on close → DataChannels don't wait for pending data to be sent on close (and don't fire close event then)

Jan-Ivar, would you mind setting the Severity and Priority flags?

Flags: needinfo?(jib)
Severity: -- → S3
Flags: needinfo?(jib)
Priority: -- → P2
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.