Closed Bug 1550243 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16385 - Compute RTCPeerConnection iceConnectionState based on RTCIceTransport states.

Categories

(Core :: WebRTC, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 16385 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/16385
Details from upstream follow.

Marina Ciocea <marinaciocea@chromium.org> wrote:

Compute RTCPeerConnection iceConnectionState based on RTCIceTransport states.

Previously both RTCPeerConnection::iceConnectionState and RTCIceTransport states
were calculated based on updates coming from webrtc layer to blink layer (from
signaling thread to main thread). Because there is no ordering between the two
updates, the peer connection iceConnectionState and ice transport states could
end up out of sync in blink layer. Fix state mismatch by updating the peer
connection iceConnectionState using blink layer ice transport states, on ice
transport state updates.

These changes only apply for unified plan because RTCIceTransport is not exposed
for plan B.

Bug: 953694,944036
Change-Id: I3b96189593a89715cc42a8113e97c2b31c7f0eb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566334
Commit-Queue: Marina Ciocea \<marinaciocea@chromium.org>
Reviewed-by: Henrik Boström \<hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653116}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → WebRTC
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/add942756682
[wpt PR 16385] - Compute RTCPeerConnection iceConnectionState based on RTCIceTransport states., a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.