[web-platform-tests] Pull Request: RTCRtpSender.replaceTrack added behind flag.

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":

== RTCRtpSender.replaceTrack added behind flag. ==
Wires up replaceTrack[1] from the content layer implementation[2],
exposing it in JavaScript behind RuntimeEnabled experimental feature
"RTCRtpSenderReplaceTrack".

The meat of this CL are the tests. This includes making sure the track
is set asynchronously (tested with WPT) and that replacing a video
track causes different video to be sent (tested with browser_tests
instead of WPT due to bug https://crbug.com/793808).

[1] https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-replacetrack
[2] https://chromium-review.googlesource.com/c/chromium/src/+/833870/

Bug: 790007
Change-Id: If8c3499c78fe664a496c5d90cfbfa7b48c1c036f
Reviewed-on: https://chromium-review.googlesource.com/810765
WPT-Export-Revision: 1339e4bd06f61153b87c00e5f036ca4b5ac17cb0

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

Received on Thursday, 28 December 2017 09:07:17 UTC