On 11/29/16 2:36 AM, m...@devries.jp wrote:
Here's a real world use case: https://github.com/jpdevries/mab-recommendations/blob/low-battery/proposed/low-battery.md#-responding-to-battery-levels
This is the theoretical use case, yes. Is anyone actually doing this in practice, though? The link is to a recommendation document saying that people _should_ do this...
I understand the privacy concerns, but why can't these be handled similar to the Geolocation API? Ask permission to use / user opts in.
Because prompting users is generally an antipattern. If, as a user, you got a battery API prompt on every single page (because the trackers on it were trying to use it), what would be your reaction?
-Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform