W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2016

[sensors] default sensor check during sensor construction

From: Mikhail Pozdnyakov via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Sep 2016 08:28:36 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-176845771-1473841714-sysbot+gh@w3.org>
pozdnyakov has just created a new issue for 
https://github.com/w3c/sensors:

== default sensor check during sensor construction ==
As described in the 
[specification](https://w3c.github.io/sensors/#construct-sensor-object),
 default sensor needs to be returned at sensor construction if no 
sensor options were given by the user, and an exception should be 
raised if default sensor does not exist.

This requirement leads to a problem: whereas construction is 
synchronous web engine has to know the real sensors data beforehand, 
which unnecessarily complicates the implementation of the spec.


Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/128 using your GitHub account
Received on Wednesday, 14 September 2016 08:28:46 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:40 UTC