: New feature! MozillaWiki is now mobile-friendly. Visit from a mobile device to see new mobile theme + try editing. Release details.

WebAPI/Security/ResourceLock

From MozillaWiki
Jump to: navigation, search

Resource Lock API

Brief purpose of API: Prevent the screen from being dimmed or switched off

General Use Cases: Request a lock to stop the screen from being dimmed, even if the user is idle (eg. watching a movie)

References:

Inherent threats: Drain power, annoyances

Threat severity: Low

Permissions Table

Type Use Cases Authorization Model Notes & Other Controls
Web Content Same as General Implicit for full-screen only, explicit otherwise
Installed Web Apps Same as General Implicit
Privileged Web Apps Same as General Implicit
Certified Web Apps Same as General Implicit