- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Nov 2024 18:36:15 +0000
- To: public-webrtc@w3.org
jan-ivar has just created a new issue for https://github.com/w3c/webrtc-pc: == Clarify that datachannel close is reflected remotely == [WPT tests](https://wpt.fyi/results/webrtc/RTCDataChannel-close.html?label=master&label=experimental&aligned) confirm this, but the spec is not super clear. The [datachannel closing procedure](https://w3c.github.io/webrtc-pc/#data-transport-closing-procedure): <img width="822" alt="image" src="https://github.com/user-attachments/assets/1be55420-8a8e-4b47-b6e7-feb2becd8de3"> It's unclear what _"When that happens"_ means: teardown or algorithm being called? Normally we try to separate: 1. Normative requirement: When X happens, the UA MUST run this algorithm 2. Normative algorithm: To do X, run this algorithm Evidence suggests it's 1.: It's called solely from [dc.close()](https://w3c.github.io/webrtc-pc/#dom-rtcdatachannel-close), yet prose suggests otherwise: _"If the [closing procedure](https://w3c.github.io/webrtc-pc/#data-transport-closing-procedure) has not started yet"_ and _"Unless the procedure was initiated by channel.[close](https://w3c.github.io/webrtc-pc/#dom-rtcdatachannel-close),"_ Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/3021 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 November 2024 18:36:16 UTC