Closed Bug 2092559 Opened 14 days ago Closed 13 days ago

test_MozDomFullscreen_event.xhtml fails on macOS when run twice in a row

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

RESOLVED FIXED
162 Branch
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.

Blocks: 2092575

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.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b457811df98e https://hg.mozilla.org/integration/autoland/rev/abdd320ed023 Use emulated fullscreen in test_MozDomFullscreen_event.xhtml, r=dom-core-reviewers,edgar.
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: