[web-platform-tests] Pull Request: Fix race in track-stats.https.html test.

wpt-pr-bot has just labeled a pull request from chromium-wpt-export-bot for https://github.com/w3c/web-platform-tests as "wg-webrtc":

== Fix race in track-stats.https.html test. ==
This resolves the onIceConnectionStateComplete probmise when
iceConnectionState reaches either 'connected' or 'completed' and fixes
the race if it had already reached these states before the function was
called.

This fix is speculative. I am no longer able to repro the TIMEOUT
locally with or without the fix.

Bug: 829401
Change-Id: I1dec90250d640d93498c59a932ab5e84a3b96f15
Reviewed-on: https://chromium-review.googlesource.com/1012029
WPT-Export-Revision: 15094c7639b9df732efcdda4e79beaf07cf60656

See https://github.com/w3c/web-platform-tests/pull/10458

Received on Friday, 13 April 2018 10:25:19 UTC