W3C home > Mailing lists > Public > public-device-apis-log@w3.org > November 2017

Re: [sensors] Generic Sensor & Wake Lock API use cases

From: MeritBased via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Nov 2017 02:47:50 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-344129234-1510627669-sysbot+gh@w3.org>
@anssiko Um, how can it NOT be "in scope" when it is mentioned in your spec 7 times including this example: -

try { // No need to feature detect thanks to try..catch block.
    var sensor = new GeolocationSensor();
    sensor.onerror = error => gracefullyDegrade(error);
    sensor.onreading = _ => updatePosition(sensor.latitude, sensor.longitude);
} catch(error) {

Please re-instate my post as it is directly relevant to generic sensors although I very much wish it wasn't! Alternatively, please de-scope geolocation from your work here (and spec) and I'll happily disappear and wish you well on the "real" sensor stuff.

GitHub Notification of comment by MeritBased
Please view or discuss this issue at https://github.com/w3c/sensors/issues/323#issuecomment-344129234 using your GitHub account
Received on Tuesday, 14 November 2017 02:47:52 UTC

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