Closed Bug 2073503 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62792 - [wdspec] Add tests for emulation.setViewportMetaOverride

Categories

(Remote Protocol :: WebDriver BiDi, task, P4)

task

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
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: Ib2fdd276a6ce2f2923deefb200364a848a691eb0

Reviewed-on: https://chromium-review.googlesource.com/8422926
WPT-Export-Revision: 98a46fcae434c51bc3aa3539b44397fe51b77443

Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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)
  • /webdriver/tests/bidi/emulation/set_viewport_meta_override/global.py [wpt.fyi]
    • test_global: FAIL (Chrome: FAIL, Safari: ERROR)
  • /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)
  • /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)
  • /webdriver/tests/bidi/emulation/set_viewport_meta_override/viewport_meta.py [wpt.fyi]
    • test_viewport_meta: FAIL (Chrome: FAIL, Safari: ERROR)
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.