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

Re: [sensors] Does Sensor.stop() require user permission?

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Mon, 31 Oct 2016 13:49:36 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-257298019-1477921774-sysbot+gh@w3.org>
> Consider use-case when webpage got permission, sensor is active and 
providing data, then before stop() is called, permission is revoked. 
Is webpage allowed to call stop()? Should UA automatically stop 
sensor?

Yes, through the [permission revocation 
algorithm](https://w3c.github.io/permissions/#permission-revocation-algorithm)
 that still needs to be defined somewhere.

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/146#issuecomment-257298019 using
 your GitHub account
Received on Monday, 31 October 2016 13:49:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC