Skip to content

[screen-orientation] Test exiting fullscreen unlocks the orientation - #61537

Open
marcoscaceres wants to merge 1 commit into
web-platform-tests:masterfrom
marcoscaceres:screen-orientation-fullscreen-exit
Open

[screen-orientation] Test exiting fullscreen unlocks the orientation#61537
marcoscaceres wants to merge 1 commit into
web-platform-tests:masterfrom
marcoscaceres:screen-orientation-fullscreen-exit

Conversation

@marcoscaceres

Copy link
Copy Markdown
Contributor

Adds coverage for the Fullscreen and Screen Orientation interaction on the exit path: when a document or a subframe exits fullscreen, the orientation lock is released so the orientation reverts, and a still-pending lock() promise is rejected with AbortError. fullscreen-interactions.html only covers other cases, and the tests skip via assert_implements_optional where orientation locking is unsupported (e.g. desktop).

The abort-on-exit assertion depends on a pending Screen Orientation spec clarification to make the exit-versus-resolve ordering deterministic; the release assertions match the current spec. Context: https://bugs.webkit.org/show_bug.cgi?id=247250

@marcoscaceres
marcoscaceres force-pushed the screen-orientation-fullscreen-exit branch from ae3da1a to d4dc956 Compare July 27, 2026 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants