Os nossos voluntários ainda não traduziram este artigo para Português (Europeu). Junte-se a nós e ajude-nos a fazer o trabalho!
Non-standard
This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.
This API is available on Firefox OS for internal applications only.
Summary
The PermissionSettings interface provides ways to let the user manage all the permissions requested by all apps on a Firefox OS device.
Properties
None.
Methods
PermissionSettings.get()- Allows to retrieve the status of a given permission.
PermissionSettings.isExplicit()- Allows to check if a permission is explicit or implicit.
PermissionSettings.remove()- Allows to remove a given permission for an app running inside the Firefox OS browser.
PermissionSettings.set()- Allows to change a permission.
Specifications
Not part of any specification.