Open Bug 1491971 Opened 4 years ago Updated 4 years ago

Hangs in "WebDriver:FullscreenWindow"


(Testing :: Marionette, defect, P3)

Version 3


(firefox65 affected)

Tracking Status
firefox65 --- affected


(Reporter: whimboo, Unassigned)



(Keywords: hang)

Similar to bug 1489955 the "WebDriver:FullscreenWindow" command hangs and doesn't return. As result Firefox gets killed after reaching the timeout.

This is actually a permafail for test results, and marks all the tests in `` as missing:

Here the log file from Taskcluster:

> 28:55.63 .. 1537208827023	Marionette	TRACE	0 -> [0,945,"WebDriver:FullscreenWindow",{}]
> 31:54.48 .. TEST_END: TIMEOUT, expected OK

Andreas, given that you worked on the fullscreen / set window rect implementation for Marionette, and the failure seems to be very specific to Linux, can you please work on that bug? 

If we cannot find the underlying issue I would even be happy with using the TimedPromise for waiting of the expected events. That way we could at least return a failure after eg. 15s, and don't hang forever.

We should treat this failure with high priority.
Flags: needinfo?(ato)
Severity: normal → critical
Keywords: hang
Please note that when you check the above TaskCluster log file all window tests which call `WebDriver:Fullscreen` hang. So this affects the fullscreen, maximize, minimize, and set window rect commands.
I can’t work on this right now, but can take a look once I’ve
finished my P1s and my other P2s.
Flags: needinfo?(ato)
Assignee: nobody → ato
Setting this to P3 as it's only If it moves to our CI then we can revisit
Priority: P2 → P3
Depends on: 1492499
See Also: → 1496409
There are some fundamental restrictions we can’t get with window
manipulation.  If you run Firefox in Xvfb without a window manager,
it will not be possible to put the browser into fullscreen mode.
To make the matter worse, we also cannot detect if the browser is
run inside a capable WM.  Our only option in this case is to fall
back to a timeout, hoping the browser has reached its dimensions
but the window state will likely not reach "fullscreen".
Closed: 4 years ago
Resolution: --- → FIXED
No timeout anymore for fullscreen tests. Thanks a lot!
Target Milestone: --- → mozilla65
This is not completely fixed. Bug 1508101 was raised recently.
Assignee: ato → nobody
Blocks: 1508101
Resolution: FIXED → ---
Target Milestone: mozilla65 → ---
You need to log in before you can comment on or make changes to this bug.