Bug 247248 - Prevent hidden documents from locking the screen orientation
Summary: Prevent hidden documents from locking the screen orientation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Marcos Caceres
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-30 17:32 PDT by Marcos Caceres
Modified: 2022-11-25 03:22 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2022-10-30 17:32:44 PDT
Hidden documents shouldn't be allowed to change the screen orientation via ScreenOrientation.prototype.lock() and ScreenOrientation.prototype.unlock(). 

Spec change: 
https://github.com/w3c/screen-orientation/pull/232
Comment 1 Radar WebKit Bug Importer 2022-11-06 16:33:19 PST
<rdar://problem/102019707>
Comment 2 Marcos Caceres 2022-11-08 20:56:18 PST
Pull request: https://github.com/WebKit/WebKit/pull/6283
Comment 3 EWS 2022-11-25 03:22:54 PST
Committed 257019@main (a68ef76884df): <https://commits.webkit.org/257019@main>

Reviewed commits have been landed. Closing PR #6283 and removing active labels.