Confirmed users
1,340
edits
No edit summary |
No edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
== Alarm API== | |||
Brief purpose of API: Let apps set timers to wake up at a specified time | Brief purpose of API: Let apps set timers to wake up at a specified time | ||
General Use Cases: | General Use Cases: | ||
*Implement an alarm reminder app by setting an alarm intent for a future time | *Implement an alarm reminder app by setting an alarm intent for a future time | ||
*Set an alarm to ping a server at a specific time or set interval | *Set an alarm to ping a server at a specific time or set interval | ||
Reference:<br> | |||
*https://developer.mozilla.org/en-US/docs/API/Alarm_API | |||
*https://groups.google.com/d/topic/mozilla.dev.webapi/pkx1uz_pnhQ/discussion | |||
*http://groups.google.com/group/mozilla.dev.webapps/browse_thread/thread/29f1efb730a9c17/5fd64f1fefe0ddd8 | |||
Inherent threats: Annoyance | Inherent threats: Annoyance | ||
Threat severity: Low | Threat severity: Low | ||
=== Permissions Table=== | |||
== | {| border="1" class="wikitable" | ||
Use | ! Type | ||
! Use Cases | |||
! Authorization Model | |||
! Notes & Other Controls | |||
|- | |||
| Web Content || None || No access | |||
|- | |||
| Installed Web Apps || General use cases || Implicit || Should be a way to disable alarm for a given app | |||
|- | |||
| Privileged Web Apps || General use cases || Implicit || Should be a way to disable alarm for a given app | |||
|- | |||
| Certified Web Apps || General use cases || Implicit|| Should be a way to disable alarm for a given app | |||
|} | |||
[[Category:Web APIs]] | |||
[[Category:Security]] | |||