Closed Bug 1843506 Opened 7 months ago Closed 7 months ago

[wpt-sync] Sync PR 41041 - WebDriver BiDi: add tests for background in browsingContext.create

Categories

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

task

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alex Rudenko <alexrudenko@chromium.org> wrote:

WebDriver BiDi: add tests for background in browsingContext.create

Also, moves the get_visibility_state helper to the browsing_context folder level.

  • [x] tests the default value to be false (foreground) for tab and window
  • [x] tests explicitly set background for tab and window
PR 41041 applied with additional changes from upstream: 6803a09f6f0d5c7170e68ea4bdedaa86b5a28246
Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Safari on GitHub CI

Total 45 tests and 8 subtests

Status Summary

Firefox

OK : 42[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 44[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt]
PASS : 283[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 332[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt]
FAIL : 77[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 78[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview]
ERROR: 1

Safari

OK : 44
ERROR: 409

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webdriver/tests/bidi/browsing_context/activate/activate.py [wpt.fyi]: ERROR (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/activate/invalid.py [wpt.fyi]
    • test_params_context_invalid_type[None]: FAIL (Safari: ERROR)
    • test_params_context_invalid_type[False]: FAIL (Safari: ERROR)
    • test_params_context_invalid_type[42]: FAIL (Safari: ERROR)
    • test_params_context_invalid_type[value3]: FAIL (Safari: ERROR)
    • test_params_context_invalid_type[value4]: FAIL (Safari: ERROR)
    • test_params_context_invalid_value[]: FAIL (Safari: ERROR)
    • test_params_context_invalid_value[somestring]: FAIL (Safari: ERROR)
    • test_params_context_iframe: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/capture_screenshot/invalid.py [wpt.fyi]
    • test_closed_frame: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/context_created/context_created.py [wpt.fyi]
    • test_new_context[window]: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview], PASS [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/create/background.py [wpt.fyi]
    • test_background_default_false[tab]: FAIL [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], PASS [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Safari: ERROR)
    • test_background_default_false[window]: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview], PASS [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Safari: ERROR)
    • test_background[True-tab]: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview], PASS [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Safari: ERROR)
    • test_background[True-window]: FAIL (Safari: ERROR)
    • test_background[False-tab]: FAIL [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], PASS [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Safari: ERROR)
    • test_background[False-window]: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview], PASS [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/create/invalid.py [wpt.fyi]
    • test_params_background_invalid_type[None]: FAIL (Safari: ERROR)
    • test_params_background_invalid_type[]: FAIL (Safari: ERROR)
    • test_params_background_invalid_type[42]: FAIL (Safari: ERROR)
    • test_params_background_invalid_type[value3]: FAIL (Safari: ERROR)
    • test_params_background_invalid_type[value4]: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/fragment_navigated/fragment_navigated.py [wpt.fyi]
    • test_unsubscribe: FAIL (Safari: ERROR)
    • test_subscribe: FAIL (Safari: ERROR)
    • test_timestamp: FAIL (Safari: ERROR)
    • test_navigation_id: FAIL (Safari: ERROR)
    • test_url_with_base_tag: FAIL (Safari: ERROR)
    • test_iframe: FAIL (Safari: ERROR)
    • test_document_location[-#foo]: FAIL (Safari: ERROR)
    • test_document_location[#foo-#bar]: FAIL (Safari: ERROR)
    • test_document_location[#foo-#foo]: FAIL (Safari: ERROR)
    • test_document_location[#bar-]: FAIL
    • test_browsing_context_navigate[-#foo]: FAIL (Safari: ERROR)
    • test_browsing_context_navigate[#foo-#bar]: FAIL (Safari: ERROR)
    • test_browsing_context_navigate[#foo-#foo]: FAIL (Safari: ERROR)
    • test_browsing_context_navigate[#bar-]: FAIL
    • test_new_context[tab]: FAIL (Safari: ERROR)
    • test_new_context[window]: FAIL (Safari: ERROR)
    • test_document_write: FAIL (Safari: ERROR)
    • test_regular_navigation: FAIL
  • /webdriver/tests/bidi/browsing_context/fragment_navigated/history_api.py [wpt.fyi]
    • test_history_push_state[-#foo]: FAIL (Safari: ERROR)
    • test_history_push_state[#foo-#bar]: FAIL (Safari: ERROR)
    • test_history_push_state[#foo-#foo]: FAIL (Safari: ERROR)
    • test_history_push_state[#bar-]: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/reload/frame.py [wpt.fyi]
    • test_origin[same_origin]: FAIL (Safari: ERROR)
    • test_origin[cross_origin]: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/reload/invalid.py [wpt.fyi]
    • test_params_context_invalid_type[None]: FAIL (Safari: ERROR)
    • test_params_context_invalid_type[False]: FAIL (Safari: ERROR)
    • test_params_context_invalid_type[42]: FAIL (Safari: ERROR)
    • test_params_context_invalid_type[value3]: FAIL (Safari: ERROR)
    • test_params_context_invalid_type[value4]: FAIL (Safari: ERROR)
    • test_params_context_invalid_value[]: FAIL (Safari: ERROR)
    • test_params_context_invalid_value[somestring]: FAIL (Safari: ERROR)
    • test_params_ignore_cache_invalid_type[]: FAIL (Safari: ERROR)
    • test_params_ignore_cache_invalid_type[42]: FAIL (Safari: ERROR)
    • test_params_ignore_cache_invalid_type[value2]: FAIL (Safari: ERROR)
    • test_params_ignore_cache_invalid_type[value3]: FAIL (Safari: ERROR)
    • test_params_wait_invalid_type[False]: FAIL (Safari: ERROR)
    • test_params_wait_invalid_type[42]: FAIL (Safari: ERROR)
    • test_params_wait_invalid_type[value2]: FAIL (Safari: ERROR)
    • test_params_wait_invalid_type[value3]: FAIL (Safari: ERROR)
    • test_params_wait_invalid_value[]: FAIL (Safari: ERROR)
    • test_params_wait_invalid_value[somestring]: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/reload/reload.py [wpt.fyi]
    • test_return_value: FAIL (Safari: ERROR)
    • test_reload[about:blank]: FAIL (Safari: ERROR)
    • test_reload[hash]: FAIL (Safari: ERROR)
    • test_reload[data url]: FAIL (Safari: ERROR)
    • test_reload[file url]: FAIL (Safari: ERROR)
    • test_image: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/reload/wait.py [wpt.fyi]
    • test_expected_url[none]: FAIL (Safari: ERROR)
    • test_expected_url[interactive]: FAIL (Safari: ERROR)
    • test_expected_url[complete]: FAIL (Safari: ERROR)
    • test_slow_image_blocks_load[none-False]: FAIL (Safari: ERROR)
    • test_slow_image_blocks_load[interactive-False]: FAIL (Safari: ERROR)
    • test_slow_image_blocks_load[complete-True]: FAIL (Safari: ERROR)
    • test_slow_page[none-False]: FAIL (Safari: ERROR)
    • test_slow_page[interactive-True]: FAIL (Safari: ERROR)
    • test_slow_page[complete-True]: FAIL (Safari: ERROR)
    • test_slow_script_blocks_domContentLoaded[none-False]: FAIL (Safari: ERROR)
    • test_slow_script_blocks_domContentLoaded[interactive-True]: FAIL (Safari: ERROR)
    • test_slow_script_blocks_domContentLoaded[complete-True]: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/browsing_context/set_viewport/invalid.py [wpt.fyi]: OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Safari: OK)
  • /webdriver/tests/bidi/browsing_context/set_viewport/set_viewport.py [wpt.fyi]: OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Safari: OK)
    • test_set_viewport_persists_on_reload: FAIL (Safari: ERROR)

Tests Disabled in Gecko Infrastructure

  • /webdriver/tests/bidi/browsing_context/set_viewport/invalid.py [wpt.fyi]: OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Safari: OK) linked bug:Bug 1838664
  • /webdriver/tests/bidi/browsing_context/set_viewport/set_viewport.py [wpt.fyi]: OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Safari: OK) linked bug:Bug 1838664
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7c6ac8bf3285
[wpt PR 41041] - WebDriver BiDi: add tests for background in browsingContext.create, a=testonly
https://hg.mozilla.org/integration/autoland/rev/8987edeea0f1
[wpt PR 41041] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.