Closed Bug 1919706 Opened 1 month ago Closed 1 month ago

FullscreenFeature does not immediately update it's isFullScreen property

Categories

(Fenix :: Media, defect)

All
Android
defect

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: petru, Assigned: petru)

Details

Attachments

(1 file)

Seen while investigating bug 1918757.
The isFullScreen of FullscreenFeature property which should closely match the fullScreen property of ContentState does not immediately do this but only after informing through callback that the fullscreen status has changed.
If in that moment other app features query isFullScreen they would get the old value, not the new one.

Previously if evaluating isFullscreen inside FullScreenFeature's fullScreenChanged callback
we would get the old value and not the current status of the tab.
This change fixes that.

Pushed by plingurar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/441d58bc31f5 Update FullScreenFeature to more eagerly update it's `isFullscreen` property r=android-reviewers,Roger
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: