Closed Bug 1726339 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30067 - wpt: use const/let in media-capabilities

Categories

(Core :: WebRTC: Audio/Video, task, P4)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Philipp Hancke <philipp.hancke@googlemail.com>' wrote:

wpt: use const/let in media-capabilities

transformation was done using the html-codemod tool from wpt/webrtc/tools/,
the no-vars codemod from https://github.com/cpojer/js-codemod
and manual editing for the remaining var

BUG=None

Change-Id: I614d13873d2e46ab6dbae40d6922cc3ee341480b
Reviewed-on: https://chromium-review.googlesource.com/3102946
WPT-Export-Revision: 8499e4e6e4d08f4aa41afc4a7afc7fc2b994e30f

PR 30067 applied with additional changes from upstream: 5b81bdde11d2988169725f4444e8a06322b1f7b6
Component: web-platform-tests → WebRTC: Audio/Video
Product: Testing → Core

CI Results

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

Total 2 tests and 26 subtests

Status Summary

Firefox

PASS : 16
FAIL : 6
ERROR: 2

Chrome

OK : 2
PASS : 49

Safari

OK : 2
PASS : 8
FAIL : 36

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/media-capabilities/decodingInfo.webrtc.html: ERROR
/media-capabilities/encodingInfo.webrtc.html: ERROR

New Tests That Don't Pass

/media-capabilities/decodingInfo.webrtc.html: ERROR (Chrome: OK, Safari: OK)
Test that decodingInfo returns a valid MediaCapabilitiesInfo objects: FAIL (Chrome: PASS, Safari: FAIL)
Test that decodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc video content type.: FAIL (Chrome: PASS, Safari: FAIL)
Test that decodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc audio content type.: FAIL (Chrome: PASS, Safari: FAIL)
/media-capabilities/encodingInfo.webrtc.html: ERROR (Chrome: OK, Safari: OK)
Test that encodingInfo returns a valid MediaCapabilitiesInfo objects: FAIL (Chrome: PASS, Safari: FAIL)
Test that encodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc video content type.: FAIL (Chrome: PASS, Safari: FAIL)
Test that encodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc audio content type.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/210ae0f5ae5f
[wpt PR 30067] - wpt: use const/let in media-capabilities, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.