If device has no screen, i.e., `window === null`, then we can throw immediately. In other cases, `window.screen.orientation` is sync, and available on all platforms, except Safari that has `window.orientation`. I'm not aware of the cases / platforms where we would need to handle such errors asynchronously. We can keep this issue open, get more data and find solution after research is done. -- GitHub Notification of comment by alexshalamov Please view or discuss this issue at https://github.com/w3c/accelerometer/issues/35#issuecomment-363774679 using your GitHub accountReceived on Wednesday, 7 February 2018 13:51:18 UTC
This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:55 UTC