[wpt-sync] Sync PR 62103 - [testdriver] Add test_driver.create_window()
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62103 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62103
Details from upstream follow.
Stalgia Grigg <stalgia@igalia.com> wrote:
[testdriver] Add test_driver.create_window()
This adds
test_driver.create_window(type, context)which gives test author access the New Window command in WebDriver classic. The command creates a top-level browsing context as if the user had opened it and resolves with the new window's handle.This is needed because
window.openalways creates the window with the 'is created by web content' flag set to true. This flag has bearing on the session-history branch of HTML's script-closable..This is the first step to resolving #51933 . My aim is to add support for Navigate To in a follow-up.
| Assignee | ||
Updated•2 months ago
|
| 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=94028
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 61 tests and 8 subtests
Status Summary
Firefox
OK : 1[GitHub] 49[Gecko-windows11-32-25h2-opt] 50[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-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2[GitHub] 52[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] 55[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt] 56[Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 21[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 22[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 25[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]
ERROR : 10
NOTRUN: 13
Chrome
OK : 1
PASS : 2
Safari
OK : 1
PASS : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /infrastructure/testdriver/minimize_restore_popup.html [wpt.fyi]:
SKIP - /infrastructure/testdriver/actions/elementTiming.html [wpt.fyi]
- TestDriver actions: element timing:
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-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- TestDriver actions: element timing:
- /infrastructure/testdriver/actions/penPointerEventProperties.html [wpt.fyi]
- TestDriver actions: pointerevent properties of pen type:
FAIL
- TestDriver actions: pointerevent properties of pen type:
- /infrastructure/testdriver/actions/penPointerEvents.html [wpt.fyi]
- TestDriver actions: pointerevent properties of pen type:
FAIL
- TestDriver actions: pointerevent properties of pen type:
- /infrastructure/testdriver/bidi/bluetooth/handle_request_device_prompt.https.html [wpt.fyi]:
ERROR- accept upon request_device_prompt_updated event:
NOTRUN - cancel upon request_device_prompt_updated event:
NOTRUN
- accept upon request_device_prompt_updated event:
- /infrastructure/testdriver/bidi/bluetooth/simulate_adapter.https.html [wpt.fyi]
- simulate bluetooth adapter 'absent':
FAIL - simulate bluetooth adapter 'powered-off':
FAIL - simulate bluetooth adapter 'powered-on':
FAIL
- simulate bluetooth adapter 'absent':
- /infrastructure/testdriver/bidi/bluetooth/simulate_characteristic.https.html [wpt.fyi]:
ERROR- simulate a GATT characteristic.:
NOTRUN
- simulate a GATT characteristic.:
- /infrastructure/testdriver/bidi/bluetooth/simulate_characteristic_response.https.html [wpt.fyi]:
ERROR- simulate a GATT characteristic response:
NOTRUN
- simulate a GATT characteristic response:
- /infrastructure/testdriver/bidi/bluetooth/simulate_descriptor.https.html [wpt.fyi]:
ERROR- simulate a GATT descriptor.:
NOTRUN
- simulate a GATT descriptor.:
- /infrastructure/testdriver/bidi/bluetooth/simulate_descriptor_response.https.html [wpt.fyi]:
ERROR- simulate a GATT descriptor response:
NOTRUN
- simulate a GATT descriptor response:
- /infrastructure/testdriver/bidi/bluetooth/simulate_gatt_connection_response.https.html [wpt.fyi]:
ERROR- simulate a GATT connection response.:
NOTRUN
- simulate a GATT connection response.:
- /infrastructure/testdriver/bidi/bluetooth/simulate_gatt_disconnection.https.html [wpt.fyi]:
ERROR- simulate a GATT disconnection.:
NOTRUN
- simulate a GATT disconnection.:
- /infrastructure/testdriver/bidi/bluetooth/simulate_preconnected_peripheral.https.html [wpt.fyi]:
ERROR- simulate a preconnected peripheral.:
NOTRUN
- simulate a preconnected peripheral.:
- /infrastructure/testdriver/bidi/bluetooth/simulate_service.https.html [wpt.fyi]:
ERROR- simulate a GATT service.:
NOTRUN
- simulate a GATT service.:
- /infrastructure/testdriver/bidi/emulation/set_geolocation_override.https.html [wpt.fyi]:
ERROR- emulate geolocation and clear override:
NOTRUN - emulate geolocation position unavailable:
NOTRUN - cannot set
coordinatesanderrorsimultaneously:NOTRUN
- emulate geolocation and clear override:
- /infrastructure/testdriver/bidi/emulation/set_locale_override.https.html [wpt.fyi]
- emulate locale and clear override:
FAIL
- emulate locale and clear override:
- /infrastructure/testdriver/bidi/emulation/set_screen_orientation_override.https.html [wpt.fyi]
- emulate screen orientation and clear override:
FAIL
- emulate screen orientation and clear override:
- /infrastructure/testdriver/bidi/emulation/set_touch_override.https.html [wpt.fyi]
- emulate touch and clear override:
FAIL
- emulate touch and clear override:
- /infrastructure/testdriver/bidi/permissions/set_permission.https.html [wpt.fyi]
- Grant Permission:
FAIL - Deny Permission:
FAIL - Grant Permissions for different origins:
FAIL
- Grant Permission:
- /infrastructure/testdriver/bidi/speculation/prefetch_status_updated.https.html [wpt.fyi]
- prefetch_status_updated event subscription and structure validation:
FAIL - prefetch_status_updated event with navigation to success:
FAIL - prefetch_status_updated event with prefetch failure:
FAIL
- prefetch_status_updated event subscription and structure validation:
- /infrastructure/testdriver/bidi/subscription.html [wpt.fyi]
- Assert testdriver can subscribe without arguments:
FAIL - Assert testdriver can subscribe for current window:
FAIL - Assert testdriver can subscribe for another window:
FAIL - Assert testdriver can subscribe globally:
FAIL
- Assert testdriver can subscribe without arguments:
- /infrastructure/testdriver/bidi/subscription.window.html [wpt.fyi]
- Assert testdriver can subscribe and receive events:
FAIL
- Assert testdriver can subscribe and receive events:
- /infrastructure/testdriver/bidi/user_agent_client_hints/set_client_hints_override.https.html [wpt.fyi]
- test_driver.bidi.user_agent_client_hints.set_client_hints_override:
FAIL
- test_driver.bidi.user_agent_client_hints.set_client_hints_override:
- /infrastructure/testdriver/click.html [wpt.fyi]:
OK[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-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-opt] - /infrastructure/testdriver/file_upload.sub.html [wpt.fyi]
- File upload using testdriver:
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-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- File upload using testdriver:
- /infrastructure/testdriver/set_get_window_rect.html [wpt.fyi]
- Window Position:
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,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt],PASS[Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Window Size:
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-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Window Position:
- /infrastructure/testdriver/virtual_authenticator.html [wpt.fyi]
- Can set credential properties:
FAIL
- Can set credential properties:
Tests Disabled in Gecko Infrastructure
- /infrastructure/testdriver/minimize_restore_popup.html [wpt.fyi]:
SKIP - /infrastructure/testdriver/click.html [wpt.fyi]:
OK[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-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-opt]
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•