Re: [accelerometer] Should we throw exception when screen coordinate system is not supported?

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 account

Received on Wednesday, 7 February 2018 13:51:18 UTC