Closed Bug 1628246 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 22779 - Add a test for ReplaceTrack that verifies video track content.

Categories

(Core :: WebRTC, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Harald Alvestrand <hta@chromium.org> wrote:

Add a test for ReplaceTrack that verifies video track content.

This verifies that replaceTrack() actually replaces the track.
Adds a new helper function to add a "signal" square into a noise track.

Bug: none
Change-Id: Ia90535c984d65adcdf2c63a5700b08d7c1e384c0
Reviewed-on: https://chromium-review.googlesource.com/2141913
WPT-Export-Revision: 7dc588d371f63d6c2783da7a65a58ffba23df8f7

Component: web-platform-tests → WebRTC
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 160 tests and 1 subtests ## Status Summary ### Firefox OK : 68[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 71[Gecko-windows7-32-debug, Gecko-windows7-32-opt] 72[Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt] 82[GitHub] PASS : 767[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 807[GitHub] 865[Gecko-windows7-32-debug, Gecko-windows7-32-opt] 875[Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt] FAIL : 295[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 296[Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt] 423[GitHub] PRECONDITION_FAILED: 1 TIMEOUT : 9[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 19[GitHub] ERROR : 1[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 3[GitHub] NOTRUN : 10[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 17[GitHub] ### Chrome OK : 85 PASS : 1078 FAIL : 138 TIMEOUT : 13 ERROR : 2 NOTRUN : 36 ### Safari OK : 79 PASS : 690 FAIL : 443 TIMEOUT : 20 ERROR : 5 NOTRUN : 115 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=b4a4e3f54cacd1496ddc456c5a96eeb6493c9ca4) [GitHub PR Head](https://wpt.fyi/results/?sha=499a34a088718c0e01b0ba7ccba12fbfeb3c476b&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=499a34a088718c0e01b0ba7ccba12fbfeb3c476b&label=pr_base) ## Details ### Firefox-only Failures /webrtc/protocol/video-codecs.https.html H.264 and VP8 should be negotiated after handshake: FAIL linked bug:Bug 1534687 H.264 and VP8 should be supported in initial offer: FAIL linked bug:Bug 1534688 All H.264 codecs MUST include profile-level-id: FAIL linked bug:Bug 1534687 /webrtc/RTCConfiguration-rtcpMuxPolicy.html setConfiguration(config) - with { rtcpMuxPolicy: 'invalid' } should throw TypeError: FAIL setRemoteDescription throws InvalidAccessError when called with an answer without rtcp-mux and rtcpMuxPolicy is set to require: FAIL new RTCPeerConnection({ rtcpMuxPolicy: undefined }) should have default rtcpMuxPolicy require: FAIL new RTCPeerConnection({ rtcpMuxPolicy: 'require' }) should succeed: FAIL new RTCPeerConnection({ rtcpMuxPolicy: 'negotiate' }) may succeed or throw NotSupportedError: FAIL new RTCPeerConnection(config) - with { rtcpMuxPolicy: 'invalid' } should throw TypeError: FAIL setConfiguration({ rtcpMuxPolicy: 'require' }) with initial rtcpMuxPolicy negotiate should throw InvalidModificationError: FAIL setConfiguration(config) - with { rtcpMuxPolicy: null } should throw TypeError: FAIL setRemoteDescription throws InvalidAccessError when called with an offer without rtcp-mux and rtcpMuxPolicy is set to require: FAIL setConfiguration({}) with initial rtcpMuxPolicy negotiate should throw InvalidModificationError: FAIL setConfiguration({ rtcpMuxPolicy: 'negotiate' }) with initial rtcpMuxPolicy require should throw InvalidModificationError: FAIL new RTCPeerConnection() should have default rtcpMuxPolicy require: FAIL new RTCPeerConnection(config) - with { rtcpMuxPolicy: null } should throw TypeError: FAIL /html/dom/usvstring-reflection.https.html source : unpaired surrogate codepoint should be replaced with U+FFFD: FAIL anchor : unpaired surrogate codepoint should be replaced with U+FFFD: FAIL area : unpaired surrogate codepoint should be replaced with U+FFFD: FAIL storage event : unpaired surrogate codepoint should be replaced with U+FFFD: FAIL /webrtc/RTCPeerConnection-connectionState.https.html: SKIP [`Gecko-android-em-7.0-x86_64-debug-geckoview`, `Gecko-android-em-7.0-x86_64-opt-geckoview`, `Gecko-linux1804-64-debug`, `Gecko-linux1804-64-opt`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows10-64-debug`, `Gecko-windows10-64-opt`, `Gecko-windows10-64-qr-debug`, `Gecko-windows10-64-qr-opt`, `Gecko-windows7-32-debug`, `Gecko-windows7-32-opt`], TIMEOUT [`GitHub`] Initial connectionState should be new: FAIL connectionState transitions to connected via connecting: TIMEOUT connection with one data channel should eventually have connected connection state: TIMEOUT Closing the connection should set connectionState to closed: FAIL Closing a PeerConnection should not fire connectionstatechange event: NOTRUN /mst-content-hint/idlharness.window.html MediaStreamTrack interface: videoTrack must inherit property "contentHint" with the proper type: FAIL MediaStreamTrack interface: attribute contentHint: FAIL MediaStreamTrack interface: audioTrack must inherit property "contentHint" with the proper type: FAIL /webrtc/RTCPeerConnection-track-stats.https.html: SKIP [`Gecko-android-em-7.0-x86_64-debug-geckoview`, `Gecko-android-em-7.0-x86_64-opt-geckoview`, `Gecko-linux1804-64-debug`, `Gecko-linux1804-64-opt`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows10-64-debug`, `Gecko-windows10-64-opt`, `Gecko-windows10-64-qr-debug`, `Gecko-windows10-64-qr-opt`, `Gecko-windows7-32-debug`, `Gecko-windows7-32-opt`], TIMEOUT [`GitHub`] RTCRtpSender.getStats() contains only outbound-rtp and related stats: TIMEOUT RTCRtpReceiver.getStats() contains only inbound-rtp and related stats: NOTRUN O/A exchange yields inbound RTP stream stats for receiving track: FAIL O/A exchange yields outbound RTP stream stats for sending track: FAIL addTrack() without setLocalDescription() yields track stats: FAIL RTCPeerConnection.getStats(receivingTrack) is the same as RTCRtpReceiver.getStats(): NOTRUN RTCPeerConnection.getStats(sendingTrack) is the same as RTCRtpSender.getStats(): NOTRUN addTrack() with setLocalDescription() yields track stats: FAIL /webrtc/idlharness.https.window.html RTCRtpTransceiver interface: operation setCodecPreferences(sequence<RTCRtpCodecCapability>): FAIL RTCPeerConnection interface: new RTCPeerConnection() must inherit property "setConfiguration(optional RTCConfiguration)" with the proper type: FAIL RTCIceCandidate interface: attribute candidate: FAIL RTCDTMFSender interface: attribute canInsertDTMF: FAIL RTCRtpReceiver interface: calling getCapabilities(DOMString) on new RTCPeerConnection().addTransceiver('audio').receiver with too few arguments must throw TypeError: FAIL RTCPeerConnection interface: attribute onconnectionstatechange: FAIL RTCIceTransport interface object length: FAIL RTCPeerConnection interface: attribute connectionState: FAIL RTCIceTransport interface: attribute gatheringState: FAIL RTCRtpReceiver interface: operation getCapabilities(DOMString): FAIL RTCRtpSender interface: calling getCapabilities(DOMString) on new RTCPeerConnection().addTransceiver('audio').sender with too few arguments must throw TypeError: FAIL RTCRtpSender interface: operation getCapabilities(DOMString): FAIL RTCIceTransport interface: attribute state: FAIL RTCIceTransport interface: existence and properties of interface prototype object's @@unscopables property: FAIL RTCCertificate interface: idlTestObjects.certificate must inherit property "getFingerprints()" with the proper type: FAIL RTCIceTransport interface: existence and properties of interface prototype object's "constructor" property: FAIL RTCRtpTransceiver interface: new RTCPeerConnection().addTransceiver('audio') must inherit property "setCodecPreferences(sequence<RTCRtpCodecCapability>)" with the proper type: FAIL RTCCertificate interface: operation getFingerprints(): FAIL RTCRtpReceiver interface: new RTCPeerConnection().addTransceiver('audio').receiver must inherit property "getParameters()" with the proper type: FAIL RTCRtpReceiver interface: operation getParameters(): FAIL RTCPeerConnection interface: new RTCPeerConnection() must inherit property "onconnectionstatechange" with the proper type: FAIL RTCRtpTransceiver interface: calling setCodecPreferences(sequence<RTCRtpCodecCapability>) on new RTCPeerConnection().addTransceiver('audio') with too few arguments must throw TypeError: FAIL RTCRtpSender interface: calling setParameters(RTCRtpSendParameters) on new RTCPeerConnection().addTransceiver('audio').sender with too few arguments must throw TypeError: FAIL RTCIceTransport interface object name: FAIL RTCIceCandidate interface: attribute sdpMLineIndex: FAIL RTCIceCandidate interface: attribute sdpMid: FAIL RTCPeerConnection interface: calling setConfiguration(optional RTCConfiguration) on new RTCPeerConnection() with too few arguments must throw TypeError: FAIL RTCPeerConnection interface: new RTCPeerConnection() must inherit property "connectionState" with the proper type: FAIL /webrtc/protocol/ice-ufragpwd.html setRemoteDescription with a ice-ufrag containing a non-ice-char fails: FAIL setRemoteDescription with a ice-pwd containing a non-ice-char fails: FAIL /webrtc/RTCPeerConnection-setRemoteDescription-pranswer.html setRemoteDescription(answer) from have-remote-pranswer state should succeed: FAIL setRemoteDescription(pranswer) multiple times should succeed: FAIL setRemoteDescription(pranswer) from stable state should reject with InvalidStateError: FAIL setRemoteDescription(pranswer) from have-local-offer state should succeed: FAIL /webrtc/RTCPeerConnection-setLocalDescription-pranswer.html setLocalDescription(answer) from have-local-pranswer state should succeed: FAIL setLocalDescription(pranswer) can be applied multiple times while still in have-local-pranswer: FAIL /webrtc/RTCPeerConnection-getStats.https.html getStats() with no argument should return stats report containing peer-connection stats on an empty PC: FAIL (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7bf043c2f796 [wpt PR 22779] - Add a test for ReplaceTrack that verifies video track content., a=testonly https://hg.mozilla.org/integration/autoland/rev/a2740075b6ea [wpt PR 22779] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/454ddc192d2f [wpt PR 22779] - Add a test for ReplaceTrack that verifies video track content., a=testonly https://hg.mozilla.org/integration/autoland/rev/cb45dc352145 [wpt PR 22779] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: