Open Bug 1798646 Opened 3 years ago Updated 1 year ago

Exiting fullscreen should unlock the screen orientation lock and reject pending lock promise

Categories

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

enhancement

Tracking

()

People

(Reporter: edgar, Unassigned)

References

()

Details

See https://github.com/whatwg/fullscreen/pull/206.

Currently we do unlock the screen orientation lock while document exit fullscreen, see https://searchfox.org/mozilla-central/rev/17349477695facefe7d180d7afc2b74a965c21db/dom/base/ScreenOrientation.cpp#715, but it seems we won't reject the pending lock promises if any.

You need to log in before you can comment on or make changes to this bug.