Open Bug 1662714 Opened 4 years ago Updated 4 years ago

[wpt-sync] Sync PR 25360 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=215567

Categories

(Core :: WebRTC, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Youenn Fablet <youennf@gmail.com>' wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=215567

WebKit export from bug: calling transceiver setCodecPreferences doesn't change the order of codecs in the offer/answer generated by the browser

Component: web-platform-tests → WebRTC
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 17 subtests

Status Summary

Firefox

OK : 1
FAIL: 17

Chrome

OK : 1
PASS: 17

Safari

OK : 1
PASS: 8
FAIL: 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/webrtc/RTCRtpTransceiver-setCodecPreferences.html
setCodecPreferences() on audio transceiver with codecs returned from RTCRtpSender.getCapabilities('audio') should succeed: FAIL
setCodecPreferences() on video transceiver with codecs returned from RTCRtpReceiver.getCapabilities('video') should succeed: FAIL
setCodecPreferences() with both sender receiver codecs combined should succeed: FAIL
setCodecPreferences([]) should succeed: FAIL
setCodecPreferences() with reordered codecs should succeed: FAIL
setCodecPreferences() with only VP8 should succeed: FAIL
setCodecPreferences() with only H264 should succeed: FAIL
setCodecPreferences() should allow setting H264 as first codec: FAIL

New Tests That Don't Pass

/webrtc/RTCRtpTransceiver-setCodecPreferences.html
setCodecPreferences() on audio transceiver with codecs returned from RTCRtpSender.getCapabilities('audio') should succeed: FAIL (Chrome: PASS, Safari: PASS)
setCodecPreferences() on video transceiver with codecs returned from RTCRtpReceiver.getCapabilities('video') should succeed: FAIL (Chrome: PASS, Safari: PASS)
setCodecPreferences() with both sender receiver codecs combined should succeed: FAIL (Chrome: PASS, Safari: PASS)
setCodecPreferences([]) should succeed: FAIL (Chrome: PASS, Safari: PASS)
setCodecPreferences() with reordered codecs should succeed: FAIL (Chrome: PASS, Safari: PASS)
setCodecPreferences() with only VP8 should succeed: FAIL (Chrome: PASS, Safari: PASS)
setCodecPreferences() with only H264 should succeed: FAIL (Chrome: PASS, Safari: PASS)
setCodecPreferences() should allow setting H264 as first codec: FAIL (Chrome: PASS, Safari: PASS)
setCodecPreferences() should allow setting VP8 as first codec: FAIL (Chrome: PASS, Safari: FAIL)
setCodecPreferences() on audio transceiver with codecs returned from getCapabilities('video') should throw InvalidModificationError: FAIL (Chrome: PASS, Safari: FAIL)
setCodecPreferences() with user defined codec with invalid mimeType should throw InvalidModificationError: FAIL (Chrome: PASS, Safari: FAIL)
setCodecPreferences() with user defined codec should throw InvalidModificationError: FAIL (Chrome: PASS, Safari: FAIL)
setCodecPreferences() with user defined codec together with codecs returned from getCapabilities() should throw InvalidModificationError: FAIL (Chrome: PASS, Safari: FAIL)
setCodecPreferences() with modified codec clock rate should throw InvalidModificationError: FAIL (Chrome: PASS, Safari: FAIL)
setCodecPreferences() with modified codec channel count should throw InvalidModificationError: FAIL (Chrome: PASS, Safari: FAIL)
setCodecPreferences() with modified codec parameters should throw InvalidModificationError: FAIL (Chrome: PASS, Safari: FAIL)
setCodecPreferences() with modified codecs returned from getCapabilities() should throw InvalidModificationError: FAIL (Chrome: PASS, Safari: FAIL)

You need to log in before you can comment on or make changes to this bug.