test_MozDomFullscreen_event.xhtml fails on macOS when run twice in a row
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
When dom/base/test/fullscreen/test_MozDomFullscreen_event.xhtml runs twice in a row on macOS (mochitest-chrome-repeat), the second run fails "Inner doc should be in fullscreen" and then times out.
The test closes its window as soon as MozDOMFullscreen:Exited arrives. With full-screen-api.macos-native-full-screen enabled, that event fires at the start of the native exit animation. The next window's native fullscreen request then fails, and the window leaves fullscreen 10ms after entering it.
The test checks the targets of the MozDOMFullscreen:* events, not native transitions, so the patch makes it use emulated fullscreen.
| Assignee | ||
Comment 1•14 days ago
|
||
The test closes its window right after MozDOMFullscreen:Exited, which on macOS
fires at the start of the native fullscreen exit animation. When the test runs
again right away, its new window's native fullscreen request fails, the window
leaves fullscreen 10ms after entering it, and the test times out.
Comment 3•13 days ago
|
||
| bugherder | ||
Updated•2 hours ago
|
Description
•