Opening a new browser window should potentially wait for the "browser-delayed-startup-finished" notification
Categories
(Remote Protocol :: Agent, enhancement, P3)
Tracking
(firefox148 fixed)
| Tracking | Status | |
|---|---|---|
| firefox148 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m18])
Attachments
(1 file)
Right now we only wait for this notification for the initial window, but not when using any WebDriver BiDi or Marionette commands to open a new context. As such our commands may return too early and causing issues. See bug 1837949 comment 5.
I would wait with any work here until bug 1837949 has been fixed to not influence test scenarios and make it harder to see.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•9 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
| Assignee | ||
Comment 2•5 months ago
|
||
Actually this might cause issues when interacting with a window that is not ready yet and certain components like safe browsing, or the blocklist not yet working. See bug 1975796 comment 5 as example.
I'll try to find some time this week to come up with a patch.
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 3•3 months ago
|
||
It would be good to only have to modify the TabManager and WindowManager and not as well Marionette. As such I've checked if the patch on bug 1795841 now works and indeed with the newer Linux versions it seems to be fine now. So lets wait until this landed.
| Assignee | ||
Comment 4•25 days ago
|
||
Actually this observer notification is only sent when opening a new browser window but not for new tabs. So we are not blocked on a solution for bug 1795841.
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Comment 5•25 days ago
|
||
Backed out for causing wpt failures.
| Assignee | ||
Comment 9•19 days ago
|
||
All these failures are on Android where we actually do not have to wait for this observer notification because only a single window exists anyway and we check the status early when Marionette / Remote Agent starts-up. Also there is no gBrowserInit object available for Thunderbird and SeaMonkey so we should limit the check for window.gBrowserInit.delayedStartupFinished to just Firefox for now.
Comment 10•19 days ago
|
||
Comment 11•19 days ago
|
||
| bugherder | ||
Description
•