This API is available on Firefox OS for internal applications only.
Summary
The remove
method allows to simply reset a permission for an app which is running inside the browser app.
Syntax
var value = navigator.mozPermissionsettings.remove(permission, manifest, origin)
Parameters
permission
- A string with the name of the permission to retrieve.
manifest
- A string representing the URL of the manifest of the app to check, or for an app running inside the browser, the URL of the browser app manifest.
origin
- A string representing the domain name of the app.
Specifications
Not part of any specification.