← Back to release summary

onclosing event on RTCDataChannel

Category
WebRTC
Type
New or changed feature
Status
Enabled by default (Chrome 81)
Intent stage
Prepare to ship

WPT details: RTCDatachannel-close() tests have been extended.

Summary

Adds the onclosing event, which signals to the user of a data channel that the other side has started closing the channel; the browser user agent will continue reading from the queue (if it contains anything), but no more data can be sent.

Standards & signals

Ecosystem

View on chromestatus.com