Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure connecting state happens whenever a ICE or DTLS transport is new #2687

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

youennf
Copy link
Contributor

@youennf youennf commented Oct 21, 2021

Fixes #2678


Preview | Diff

{{RTCIceTransport}} is in the {{RTCIceTransportState/"new"}}
or {{RTCIceTransportState/"checking"}} state or any
{{RTCDtlsTransport}} is in the {{RTCDtlsTransportState/"new"}}
or {{RTCDtlsTransportState/"connecting"}} state.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but I wonder if we can do something about the sentence structure for all of these - in normal logic, "and" has a higher precedence than "or", but it's relatively obvious that the intention here is that "None of the previous states apply" is intended to apply to all elements of the "or" clause.

Wonder if commas would help:

None of the previous states apply, and either any RTCIceTransport is in state "new" or "checking" or any RTCDtlsTransport is in state "new" or "connecting".

Unsure what's clearer - the new edit introduced a third level of logical expression. Wish English permitted parentheses!

@alvestrand alvestrand merged commit 2345ee1 into w3c:main Oct 21, 2021
dontcallmedom added a commit to dontcallmedom/web-platform-tests that referenced this pull request Nov 15, 2023
Check that a new data channel to an unbundling endpoint makes the caller connectionState go through 'connecting'
dontcallmedom added a commit to web-platform-tests/wpt that referenced this pull request Dec 5, 2023
* Add test for w3c/webrtc-pc#2687

Check that a new data channel to an unbundling endpoint makes the caller connectionState go through 'connecting'

* Fix lint
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 14, 2023
Automatic update from web-platform-tests
Add test for w3c/webrtc-pc#2687 (#43171)

* Add test for w3c/webrtc-pc#2687

Check that a new data channel to an unbundling endpoint makes the caller connectionState go through 'connecting'

* Fix lint
--

wpt-commits: ade2b4b05020a2a1d4c0504f343571fb86d12668
wpt-pr: 43171
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Dec 16, 2023
Automatic update from web-platform-tests
Add test for w3c/webrtc-pc#2687 (#43171)

* Add test for w3c/webrtc-pc#2687

Check that a new data channel to an unbundling endpoint makes the caller connectionState go through 'connecting'

* Fix lint
--

wpt-commits: ade2b4b05020a2a1d4c0504f343571fb86d12668
wpt-pr: 43171

UltraBlame original commit: 636375b65f5f66872b196a633b92d36e36d91480
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Dec 16, 2023
Automatic update from web-platform-tests
Add test for w3c/webrtc-pc#2687 (#43171)

* Add test for w3c/webrtc-pc#2687

Check that a new data channel to an unbundling endpoint makes the caller connectionState go through 'connecting'

* Fix lint
--

wpt-commits: ade2b4b05020a2a1d4c0504f343571fb86d12668
wpt-pr: 43171

UltraBlame original commit: 636375b65f5f66872b196a633b92d36e36d91480
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Dec 16, 2023
Automatic update from web-platform-tests
Add test for w3c/webrtc-pc#2687 (#43171)

* Add test for w3c/webrtc-pc#2687

Check that a new data channel to an unbundling endpoint makes the caller connectionState go through 'connecting'

* Fix lint
--

wpt-commits: ade2b4b05020a2a1d4c0504f343571fb86d12668
wpt-pr: 43171

UltraBlame original commit: 636375b65f5f66872b196a633b92d36e36d91480
aosmond pushed a commit to aosmond/gecko that referenced this pull request Dec 16, 2023
Automatic update from web-platform-tests
Add test for w3c/webrtc-pc#2687 (#43171)

* Add test for w3c/webrtc-pc#2687

Check that a new data channel to an unbundling endpoint makes the caller connectionState go through 'connecting'

* Fix lint
--

wpt-commits: ade2b4b05020a2a1d4c0504f343571fb86d12668
wpt-pr: 43171
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RTCPeerConnectionState enum should handle new state
2 participants