[wpt-sync] Sync PR 62792 - [wdspec] Add tests for emulation.setViewportMetaOverride
Categories
(Remote Protocol :: WebDriver BiDi, task, P4)
Tracking
(firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62792 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62792
Details from upstream follow.
Maksim Sadym <sadym@chromium.org> wrote:
[wdspec] Add tests for emulation.setViewportMetaOverride
- Spec: https://w3c.github.io/webdriver-bidi/#commands-emulationsetviewportmetaoverride
- Add WPT wdspec coverage for enabling (
viewportMeta: true) and
resetting (viewportMeta: null) viewport meta tag parsing.- Verify browsing context (
contexts), user context (userContexts),
and global scoping, isolation, and override precedence.- Add parameter and scope validation tests for invalid types and values.
Bug: 470318350
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel,mac-webdriver-bidi-rel,win-webdriver-bidi-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
TAG=agy
CONV=b8f67bbe-1380-44b8-8641-53e4b2d2cafa
Change-Id: Ib2fdd276a6ce2f2923deefb200364a848a691eb0Reviewed-on: https://chromium-review.googlesource.com/8422926
WPT-Export-Revision: 98a46fcae434c51bc3aa3539b44397fe51b77443
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=94235
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 5 tests and 1 subtests
Status Summary
Firefox
OK : 5
FAIL : 42
Chrome
OK : 4
PASS : 28
FAIL : 10
TIMEOUT: 1
Safari
OK : 5
ERROR : 42
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webdriver/tests/bidi/emulation/set_viewport_meta_override/contexts.py [wpt.fyi]
- test_contexts:
FAIL(Safari:ERROR) - test_overrides_user_contexts[Default user context]:
FAIL(Safari:ERROR) - test_overrides_user_contexts[Custom user context]:
FAIL(Safari:ERROR) - test_overrides_global:
FAIL(Safari:ERROR)
- test_contexts:
- /webdriver/tests/bidi/emulation/set_viewport_meta_override/global.py [wpt.fyi]
- test_global:
FAIL(Chrome:FAIL, Safari:ERROR)
- test_global:
- /webdriver/tests/bidi/emulation/set_viewport_meta_override/invalid.py [wpt.fyi]
- test_params_contexts_invalid_type[42]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_invalid_type[False]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_invalid_type[None]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_invalid_type[foo]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_invalid_type[value4]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_empty_list:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_entry_invalid_type[42]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_entry_invalid_type[False]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_entry_invalid_type[None]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_entry_invalid_type[value3]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_entry_invalid_type[value4]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_contexts_entry_invalid_value:
FAIL(Chrome:FAIL, Safari:ERROR) - test_params_contexts_iframe:
FAIL(Chrome:FAIL, Safari:ERROR) - test_params_user_contexts_invalid_type[42]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_invalid_type[False]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_invalid_type[None]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_invalid_type[foo]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_invalid_type[value4]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_empty_list:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_entry_invalid_type[42]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_entry_invalid_type[False]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_entry_invalid_type[None]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_entry_invalid_type[value3]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_entry_invalid_type[value4]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_user_contexts_entry_invalid_value:
FAIL(Chrome:FAIL, Safari:ERROR) - test_params_contexts_and_user_contexts:
FAIL(Chrome:FAIL, Safari:ERROR) - test_params_viewport_meta_missing:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_viewport_meta_invalid_type[42]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_viewport_meta_invalid_type[value1]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_viewport_meta_invalid_type[foo]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_viewport_meta_invalid_type[value3]:
FAIL(Chrome:PASS, Safari:ERROR) - test_params_viewport_meta_invalid_value:
FAIL(Chrome:PASS, Safari:ERROR)
- test_params_contexts_invalid_type[42]:
- /webdriver/tests/bidi/emulation/set_viewport_meta_override/user_contexts.py [wpt.fyi]
- test_user_contexts[Default user context]:
FAIL(Chrome:FAIL, Safari:ERROR) - test_user_contexts[Custom user context]:
FAIL(Chrome:FAIL, Safari:ERROR) - test_overrides_global[Default user context]:
FAIL(Chrome:FAIL, Safari:ERROR) - test_overrides_global[Custom user context]:
FAIL(Chrome:FAIL, Safari:ERROR)
- test_user_contexts[Default user context]:
- /webdriver/tests/bidi/emulation/set_viewport_meta_override/viewport_meta.py [wpt.fyi]
- test_viewport_meta:
FAIL(Chrome:FAIL, Safari:ERROR)
- test_viewport_meta:
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/de9dd1c0587c
https://hg.mozilla.org/mozilla-central/rev/98734d818b13
Description
•