Re: [w3c/screen-orientation] Feature detection of orientation.lock (Issue #206)

Indeed, try/catch only works if you're guaranteed the try never side effects. That's not the case here. Anyway, it sounds like `ScreenOrientation.supports()` is a thing we could do.

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

Message ID: <w3c/screen-orientation/issues/206/1274174983@github.com>

Received on Tuesday, 11 October 2022 06:59:08 UTC