[wpt-sync] Sync PR 64128 - [wdspec] Use visual viewport dimensions in BiDi screenshot WPTs
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 64128 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64128
Details from upstream follow.
Maksim Sadym <sadym@chromium.org> wrote:
[wdspec] Use visual viewport dimensions in BiDi screenshot WPTs
- Check viewport screenshot dimensions against visualViewport in
WebDriver BiDi captureScreenshot WPTs.- Viewport screenshots capture the visual viewport, which differs from
the integer layout viewport on mobile and zoomed pages, and rounding
of fractional physical pixels is implementation-defined.- Read window.visualViewport dimensions before capturing and compare
scaled PNG sizes with a 1-pixel rounding tolerance.TAG=agy
Bug: 565712857
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel,linux-blink-rel,android-15-chrome-blink-rel
Change-Id: I2cee291b0d089522f67ab01757b4ba9b0079e461
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8598329
Reviewed-by: Alex Rudenko \<alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko \<alexrudenko@chromium.org>
Auto-Submit: Maksim Sadym \<sadym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1721727}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Comment 1•26 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114505
| Assignee | ||
Comment 2•25 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 : 7
PASS : 119[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] 126[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]
FAIL : 1
Chrome
OK : 7
PASS : 125
FAIL : 2
Safari
OK : 6
TIMEOUT: 1
ERROR : 34
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:
FAIL[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],PASS[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] (Chrome:PASS, Safari:ERROR)
- test_clip_huge_element_to_viewport:
Comment 4•19 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3c97fec57c96
https://hg.mozilla.org/mozilla-central/rev/7b79e52673eb
Description
•