[wpt-sync] Sync PR 44139 - [webdriver] Fix assertion for type hint when opening a new window on Android
Categories
(Remote Protocol :: Marionette, task, P4)
Tracking
(firefox124 fixed)
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44139 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44139
Details from upstream follow.
Henrik Skupin <mail@hskupin.info> wrote:
[webdriver] Fix assertion for type hint when opening a new window on Android
For the
New Window
command on Android the type hint when set towindow
should be handled astab
instead given that on Android each application has a single window only. As listed under point 5 in the WebDriver classic spec it is implementation defined:In all other cases the details of how the browsing context is presented to the user are implementation defined.
Wdspec tests for Chrome on Android are passing even through the checks for the returned type hint is
window
.Given the above explanation we should probably assert for
tab
instead. I assume returningwindow
for Chrome on Android is a bug and needs to be fixed?For Firefox we will enable the fallback to
tab
in https://bugzilla.mozilla.org/show_bug.cgi?id=1875085.@sadym-chromium @nechaev-chromium could you please check / revivew? Thanks.
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 1•8 months ago
|
||
Assignee | ||
Comment 2•8 months ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
OK
: 1
PASS
: 6
Chrome
OK
: 1
PASS
: 6
Safari
OK
: 1
PASS
: 5
FAIL
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webdriver/tests/classic/new_window/new_window.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
,GitHub
],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
] (Chrome:OK
, Safari:OK
)
Tests Disabled in Gecko Infrastructure
- /webdriver/tests/classic/new_window/new_window.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
,GitHub
],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
] (Chrome:OK
, Safari:OK
)
Comment 4•8 months ago
|
||
bugherder |
Description
•