Bug 247248

Summary: Prevent hidden documents from locking the screen orientation
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: WebCore Misc.Assignee: Marcos Caceres <marcosc>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

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.