revoke method
The revoke()
method of the
Permissions interface reverts a currently set permission back to its
default state, which is usually prompt
.
This method is called on the global Permissions object
navigator.permissions
.
Implementation
external JSPromise<PermissionStatus> revoke(JSObject permissionDesc);