Closed Bug 1468186 Opened 3 years ago Closed 3 years ago
[wpt-sync] Sync PR 11459 - Fix errors external/wpt/RTCPeer
Connection-remove Track .https .html .
Sync web-platform-tests PR 11459 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/11459 Details from upstream follow. Henrik Boström <email@example.com> wrote: > Fix errors external/wpt/RTCPeerConnection-removeTrack.https.html. > > This is in preparation for RTCRtpTransceiver/Unified Plan support. > > "Calling removeTrack with valid sender should set sender.track to null" > Asserting that direction changes from 'sendrecv' to 'recvonly', this > is explicit in the spec. > > "Calling removeTrack with currentDirection blah should set direction to > blah" > The tests that meant to set up currentDirection to be 'sendrecv' or > 'recvonly' before removeTrack() were incorrect. Tests updated to set > up currentDirection correctly. Also updated them to use async/await > because that's much nicer. > > These all fail because we don't have transceivers yet, but when running > these changes in the RTCRtpTransceiver WIP CL, they all pass. > >  See step 10 of > https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-removetrack >  https://chromium-review.googlesource.com/c/chromium/src/+/1025771/ > > Bug: 777617 > Change-Id: Ie3c077d14ea30038a06a98ecbeea475ac824dd9c > Reviewed-on: https://chromium-review.googlesource.com/1095275 > WPT-Export-Revision: d9dbd506f9e2c9c554f0c895ed9c51997895323a
3 years ago
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/986d9d5e1ea3 [wpt PR 11459] - Fix errors external/wpt/RTCPeerConnection-removeTrack.https.html., a=testonly
You need to log in before you can comment on or make changes to this bug.