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

Thanks for checking Tobie. Sorry, I asked question in a wrong way. 
Since we are implementing it at the moment, we need to know precisely 
what should be done when permission is revoked.

Option 1: UA stops sensor and fires state change notification.
Option 2: UA stops sensor and fires two notifications onerror 
(permission) + state change.
Option 3: UA doesn't do anything, webpage it is allowed to call 
Sensor.stop().

-- 
GitHub Notification of comment by alexshalamov
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/146#issuecomment-257300169 using
 your GitHub account

Received on Monday, 31 October 2016 13:57:30 UTC