[wpt-sync] Sync PR 64206 - [WebDriver BiDi] Test huge-document screenshot clipping at multiple DPRs
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| 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: I50e14c9b6a9d4903f045aa5ddf184aeda4af16f7Reviewed-on: https://chromium-review.googlesource.com/8407226
WPT-Export-Revision: 0d1eacbe6851a8f4dbeee7c2542cf1006045e340
| Assignee | ||
Updated•21 days ago
|
| Assignee | ||
Updated•15 days ago
|
| Assignee | ||
Updated•15 days ago
|
| Assignee | ||
Updated•15 days ago
|
| Assignee | ||
Comment 1•15 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=113699
| Assignee | ||
Comment 2•15 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=113734
| Assignee | ||
Comment 3•15 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=113748
| Assignee | ||
Comment 4•15 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=113767
| Assignee | ||
Comment 5•15 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=113798
| Assignee | ||
Comment 6•11 days ago
|
||
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)
- test_clip_huge_element_to_viewport[1]:
Comment 8•5 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d3f75e681911
https://hg.mozilla.org/mozilla-central/rev/85657b797cad
Description
•