Closed Bug 1919968 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 48242 - Add WPT: scaleResolutionDownTo maintains aspect ratio.

Categories

(Core :: WebRTC, task, P4)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Henrik Boström <hbos@chromium.org> wrote:

Add WPT: scaleResolutionDownTo maintains aspect ratio.

Test that if the frame is 120x60 and restrictions are max 60x60 then the
result is 60x30 as to maintain the original aspect ratio.

Bug: chromium:363544347, webrtc:366067962
Change-Id: Ic6665871d6d9efde4726dd8a41631eca5ed8a7b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5853944
Commit-Queue: Henrik Boström \<hbos@chromium.org>
Reviewed-by: Harald Alvestrand \<hta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1356990}

Component: web-platform-tests → WebRTC
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 8 subtests

Status Summary

Firefox

FAIL : 2
TIMEOUT: 2
NOTRUN : 5

Chrome

PASS : 1
FAIL : 1
TIMEOUT: 2
NOTRUN : 5

Safari

FAIL : 2
TIMEOUT: 2
NOTRUN : 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webrtc-extensions/RTCRtpEncodingParameters-scaleResolutionDownTo.https.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • addTransceiver: Specifying scaling on some but not all encodings throws: FAIL (Chrome: FAIL, Safari: FAIL)
    • setParameters: Specifying scaling on some but not all encodings throws: FAIL (Chrome: PASS, Safari: FAIL)
    • addTransceiver: scaleResolutionDownBy is ignored when scaleResolutionDownTo is specified: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • setParameters: scaleResolutionDownBy is ignored when scaleResolutionDownTo is specified: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • addTransceiver: scaleResolutionDownTo with half resolution: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • setParameters: Modify scaleResolutionDownTo while sending: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • scaleResolutionDownTo is orientation agnostic: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
    • scaleResolutionDownTo does not change aspect ratio: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)

Tests Disabled in Gecko Infrastructure

  • /webrtc-extensions/RTCRtpEncodingParameters-scaleResolutionDownTo.https.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/566a84829ec5 [wpt PR 48242] - Add WPT: scaleResolutionDownTo maintains aspect ratio., a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.