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

@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.start();
    sensor.onerror = error => gracefullyDegrade(error);
    sensor.onreading = _ => updatePosition(sensor.latitude, sensor.longitude);
} catch(error) {
    gracefullyDegrade(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