Closed Bug 2086610 Opened 21 days ago Closed 5 days ago

[wpt-sync] Sync PR 64206 - [WebDriver BiDi] Test huge-document screenshot clipping at multiple DPRs

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Julio Piubello <julio@gitstart.com> wrote:

[WebDriver BiDi] Test huge-document screenshot clipping at multiple DPRs

Exercise huge-element browsingContext.captureScreenshot clipping with
an explicit 250x300 CSS viewport at DPR 1 and 3. Hide scrollbars while
verifying that the 32768x32768 element still expands the document, then
compare PNG dimensions with the physical viewport using the existing
rounding tolerance.

Apply the viewport before navigation to avoid laying out the huge
document twice. This adds coverage to the imported WPT test.

Bug: 561642182
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Include-Ci-Only-Tests: chromium.android:android-16-x64-rel|android_webdriver_wpt_tests
Include-Ci-Only-Tests: chromium.fyi:linux-surface-embed-rel|surface_embed_chrome_wpt_tests
Cq-Include-Trybots: luci.chromium.try:android-15-chrome-blink-rel,android-16-x64-rel,linux-surface-embed-rel
Change-Id: I50e14c9b6a9d4903f045aa5ddf184aeda4af16f7

Reviewed-on: https://chromium-review.googlesource.com/8407226
WPT-Export-Revision: 0d1eacbe6851a8f4dbeee7c2542cf1006045e340

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
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 7 tests and 4 subtests

Status Summary

Firefox

OK : 1[GitHub] 7[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 10[GitHub] 118[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 128[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 2

Chrome

OK : 1
PASS : 10

Safari

OK : 1
ERROR: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webdriver/tests/bidi/browsing_context/capture_screenshot/capture_screenshot.py [wpt.fyi]
    • test_clip_huge_element_to_viewport[1]: FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview], PASS [Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub] (Chrome: PASS, Safari: ERROR)
    • test_clip_huge_element_to_viewport[3]: FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview], PASS [Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub] (Chrome: PASS, Safari: ERROR)
Status: NEW → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.