[webrtc-pc] Pull Request: Reorder RTCIceConnectionState enum to match RTCIceConnectionState enum.

jan-ivar has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Reorder RTCIceConnectionState enum to match RTCIceConnectionState enum. ==
Compare:
- https://w3c.github.io/webrtc-pc/#dom-rtciceconnectionstate
- https://w3c.github.io/webrtc-pc/#dom-rtcicetransportstate

Today it's easy for implementers to confuse the two enums, picking the wrong one in c++ code, partly due to things like this: https://searchfox.org/mozilla-central/source/dom/media/webrtc/PMediaTransport.ipdl#96

I don't think WebIDL enum order is JS observable, so this should be editorial.

See https://github.com/w3c/webrtc-pc/pull/2870


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

Received on Thursday, 11 May 2023 12:56:55 UTC