"WebDriver:MaximizeWindow" times out after 5000ms when running in headless mode
Categories
(Remote Protocol :: Marionette, defect, P3)
Tracking
(firefox65 wontfix, firefox66 wontfix, firefox67 wontfix, firefox68 fix-optional, firefox69 fix-optional)
Tracking | Status | |
---|---|---|
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | wontfix |
firefox68 | --- | fix-optional |
firefox69 | --- | fix-optional |
People
(Reporter: whimboo, Unassigned)
References
(Regression)
Details
(Keywords: regression)
I can see timeouts being reported in the "WebDriver:Maximize" command when running tests in headless mode. It might not happen the first time, but using the --run-until-failure
argument clearly shows the following each time after a while:
1547583548188 Marionette DEBUG 10 -> [0,3,"WebDriver:MaximizeWindow",{}]
[..]
1547583552691 Marionette WARN TimedPromise timed out after 4500 ms: stacktrace:
bail@chrome://marionette/content/sync.js:224:64
I assume it's something similar with waiting for sizemodechange
events.
It's a regression from bug 1492499, and sadly we don't raise an exception but hide it. But I will mark it blocking the meta bug 1515867, which tracks the regressions.
Reporter | ||
Comment 1•4 years ago
|
||
That is indeed because of waiting for the sizemodechange
event, which is not happening in headless mode. Checking mochitests they all use resize
events to wait for the window to be maximized.
Given that we have to get those changes in as soon as possible to be able to uplift to beta for the 65 release, I will do it as part of my patch on bug 1520302. It's actually blocked on this.
Reporter | ||
Comment 2•4 years ago
|
||
With bug 1521527 landed the timeout has been increased to 5s. Adjusting the summary to reflect reality.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Since the team has already triaged this and it's P3, I don't think that the regression triage meeting needs to keep covering this.
Updated•1 year ago
|
Updated•6 months ago
|
Reporter | ||
Comment 4•6 months ago
|
||
I've checked various wdspec headless tests on different platforms but I cannot see such a timeout anymore. I also tested locally with --repeat 100
with no avail. As such I'm going to close as WFM.
Updated•2 months ago
|
Description
•