Bug 257638 - Existing full screen should abort screen orientation pending promises
Summary: Existing full screen should abort screen orientation pending promises
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Marcos Caceres
URL: https://wpt.live/screen-orientation/f...
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2023-06-01 22:48 PDT by Marcos Caceres
Modified: 2024-01-29 19:56 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2023-06-01 22:48:39 PDT
When exiting full screen [1] on Step 9 (as of date when this bug was filed), the full screen API calls into the Screen Orientation Spec run the "fully unlock the screen orientation steps" of |doc|. 

However, WebKit doesn't currently reject the document's [[orientationPendingPromise]]. 

[1]https://fullscreen.spec.whatwg.org/#exit-fullscreen
[2]https://w3c.github.io/screen-orientation/#dfn-fully-unlock-the-screen-orientation-steps
Comment 1 Radar WebKit Bug Importer 2023-06-01 22:58:22 PDT
<rdar://problem/110153261>
Comment 2 Marcos Caceres 2023-06-01 23:01:13 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14617