canmove, Confirmed users
1,220
edits
No edit summary |
Ptheriault (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
== Battery API === | |||
General Use Cases: Adjust app behavior based upon power status | |||
Reference: | Reference: | ||
| Line 6: | Line 8: | ||
*https://groups.google.com/d/topic/mozilla.dev.webapps/vNhpn299aG0/discussion | *https://groups.google.com/d/topic/mozilla.dev.webapps/vNhpn299aG0/discussion | ||
Note from spec: | Note from the W3C spec: | ||
The API defined in this specification is used to determine the battery | The API defined in this specification is used to determine the battery | ||
status of the hosting device. The information disclosed has minimal | status of the hosting device. The information disclosed has minimal | ||
| Line 12: | Line 14: | ||
permission grants. For example, authors cannot directly know if there is | permission grants. For example, authors cannot directly know if there is | ||
a battery or not in the hosting device. | a battery or not in the hosting device. | ||
Inherent threats: Fingerprinting, abuse of battery? | |||
Threat severity: Low | |||
{| border="1" class="wikitable" | |||
! Type | |||
! Use Cases | |||
! Authorization Model | |||
! Notes & Other Controls | |||
|- | |||
| Web Content || None || No access | |||
|- | |||
| Installed Web Apps || None || No access | |||
|- | |||
| Privileged Web Apps || None || No access | |||
|- | |||
| Certified Web Apps || Notify an app if the user is idle. || Implicit | |||
|} | |||
Brief purpose of API: | Brief purpose of API: | ||
== Regular web content (unauthenticated) == | == Regular web content (unauthenticated) == | ||