W3C home > Mailing lists > Public > public-device-apis-log@w3.org > February 2018

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

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Mon, 26 Feb 2018 12:58:31 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-368494151-1519649910-sysbot+gh@w3.org>
I'd suggest we make this Level 1 since this feature is logically part of https://github.com/w3c/sensors/pull/340. Secondly, this feature was asked for by [early adopters](https://github.com/immersive-web/cardboard-vr-display/issues/17) further raising the priority.

@alexshalamov can you open respective issues for other affected sensors?

It'd be more convenient for the usual feature detection scenarios if we can make this sync and throw at construction time. Based on the initial investigation it sounds like that is doable. For related runtime errors we can use the asynchronous error reporting path (e.g. if the user locks the screen orientation while using the app?).

GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/accelerometer/issues/35#issuecomment-368494151 using your GitHub account
Received on Monday, 26 February 2018 12:58:34 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:55 UTC