Investigate proper handling of auto-focus after navigation since bug 1444491 landed
Categories
(Remote Protocol :: Marionette, defect, P1)
Tracking
(firefox-esr102 unaffected, firefox110 unaffected, firefox111 unaffected, firefox112 wontfix)
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox110 | --- | unaffected |
firefox111 | --- | unaffected |
firefox112 | --- | wontfix |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Regression, )
Details
(Keywords: regression)
With the changes on bug 1444491 auto-focus related tests are likely to fail after a navigation with Marionette. See bug 1816955 and bug 1817124.
As per temporary fix clients could execute a script to wait for the next animation frame, which would wait for the next page rendering and the auto-focus to be set.
This needs to be discussed and a WebDriver spec issue filed (not sure how BiDi should handle that). I can do the latter later today.
Comment 1•2 years ago
|
||
:sefeng, since you are the author of the regressor, bug 1444491, could you take a look? Also, could you set the severity field?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 2•2 years ago
|
||
I'm going to have a look.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
The issue has been filed: https://github.com/w3c/webdriver/issues/1720
:whimboo is there anything else to do for 112 besides wait for https://github.com/w3c/webdriver/issues/1720 to be fixed?
Assignee | ||
Comment 5•1 year ago
|
||
Thank you for the reminder. We will have to discuss on Monday in our triage meeting.
Assignee | ||
Comment 6•1 year ago
|
||
Awaiting for a requestAnimationFrame
only for Get Active Element
wont work given that other commands especially those for element interaction (Perform Actions
) would also be affected. And we most likely don't want to workaround for all the cases.
Lets check how the behavior looks like for a navigation where the remote end waits for the readyState
to be complete
. We should also check how other browsers behave here, and if they might use rAF internally already in case the test passes without the extra call to rAF.
Overall we would need a good reason if the WebDriver classic spec would need to be changed.
I'll do the above mentioned checks over the next days.
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•