[webrtc-pc] RTCSctpTransport-events.html expects RTCSctpTransport.onstatechange when the PC is closed (#3126)

docfaraday has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCSctpTransport-events.html expects RTCSctpTransport.onstatechange when the PC is closed ==
```
  const pc1ClosedWaiter = waitForState(pc1.sctp, 'closed');
  const pc2ClosedWaiter = waitForState(pc2.sctp, 'closed');
  pc1.close();
  await pc1ClosedWaiter;
```

Spec says nothing about firing an event for this state transition during the closing procedure for RTCPeerConnection, and the general pattern is not to fire events due to close():

https://w3c.github.io/webrtc-pc/#ref-for-dfn-sctptransportstate-1

This test-case is in Interop 2026.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/3126 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 20 July 2026 19:48:53 UTC