PermissionSettings.remove()

by 3 contributors:

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

See also

Document Tags and Contributors

Contributors to this page: teoli, kscarfone, Jeremie
Last updated by: teoli,