PermissionSettings.remove()

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

JavaScript
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.

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/permissionsettings/remove

API B2G Firefox OS Method Permissions permissions Reference Référence