Closed Bug 1800482 Opened 2 years ago Closed 2 years ago

Consider tracking fullscreen-request-origin on browsing context of chrome window

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

While working on other bug, I found a possible racing on how we handle the fullscreen event of chrome document on parent process, that causes some intermittent test failures like, bug 1783816 and bug 1785951, and becomes worse after some timing changes.

It basically happens on a case that two FullscreenJSParentActors try to handle the fullscreen event fired on chrome document. And since now we track the fullscreen-request-origin on the top-level content bc, so both actors think they are the current requesting one. It is probably fine in practice as browser ends up exiting the fullscreen, but it causes the some state racing and cause the tests are not able to have a reliable way to check the state transition.

So it seems to me that we could consider move the tracking of fullscreen-request-origin to browsing context of chrome window, and the one who is not the current the fullscreen-request-origin just ignore the fullscreen event.

Blocks: 1783816, 1785951
Assignee: nobody → echen
Attachment #9303342 - Attachment description: Bug 1800482 - Track fullscreen-request-origin in top-level chrome browsing context; → Bug 1800482 - Track fullscreen-request-origin in top-level chrome browsing context; r?smaug
Status: NEW → ASSIGNED
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/03f24048822f Track fullscreen-request-origin in top-level chrome browsing context; r=smaug
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Regressions: 1818797
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: