Re: [w3c/screen-orientation] Prevent hidden documents from locking orientation (PR #232)

> I guess this doesn't apply to unlock() because that shouldn't be possible? Maybe assert it? (Although maybe it's possible with manifest apps?)

I was thinking it shouldn't be possible because to hide the page/app it once locked, a user would need to exit fullscreen. But yeah, the assumption doesn't hold when there are multiple virtual desktops. 

It may be safer just to prevent it in both cases. 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/232#issuecomment-1294426770
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/screen-orientation/pull/232/c1294426770@github.com>

Received on Friday, 28 October 2022 04:09:37 UTC