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.
remove method allows to simply reset a permission for an app which is running inside the browser app.
var value = navigator.mozPermissionsettings.remove(permission, manifest, origin)
- A string with the name of the permission to retrieve.
- 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.
- A string representing the domain name of the app.
Not part of any specification.