The user has not given [=express permission=] to use the feature (i.e., it's the same
- as [=permission/denied=]). It also means that if a caller attempts to use the feature,
- the [=user agent=] will either be prompting the user for permission or access to the
- feature will be [=permission/denied=].
+ as [=permission/"denied"=]). It also means that if a caller attempts to use the
+ feature, the [=user agent=] will either be prompting the user for permission or access
+ to the feature will be [=permission/"denied"=].
- Granted:
+ "granted":
The user, or the user agent on the user's behalf, has given [=express permission=] to
@@ -235,7 +236,7 @@
the [=user agent=] asking the user's permission.
- Denied:
+ "denied":
The user, or the user agent on the user's behalf, has denied access to this [=powerful
@@ -259,7 +260,7 @@
Every [=permission=] has a lifetime,
- which is the duration for which a particular permission remains [=permission/granted=]
+ which is the duration for which a particular permission remains [=permission/"granted"=]
before it reverts back to its [=permission/default state=]. A [=permission/lifetime=]
could be until a particular [=ECMAScript/Realm=] is destroyed, until a particular
[=top-level browsing context=] is destroyed, a particular amount of time, or be infinite.
@@ -269,9 +270,9 @@
Every permission has a default state (usually
- [=permission/prompt=]), which is the [=permission/state=] that the permission is in when
- the user has not yet given [=express permission=] to use the [=feature=] or it has been
- reset because its [=permission/lifetime=] has expired.
+ [=permission/"prompt"=]), which is the [=permission/state=] that the permission is in
+ when the user has not yet given [=express permission=] to use the [=feature=] or it has
+ been reset because its [=permission/lifetime=] has expired.
@@ -387,8 +388,9 @@
[=document=] is [=allowed to use=] a given feature. That is, a powerful feature can only
request [=express permission=] from a user if the [=document=] has permission delegated
to it via the corresponding [=policy-controlled feature=] (see example below). Subsequent
- access to the feature is determined by the user having [=permission/granted=] permission,
- or by satisfying some criteria that is equivalent to a permission [=permission/grant=].
+ access to the feature is determined by the user having [=permission/"granted"=]
+ permission, or by satisfying some criteria that is equivalent to a permission
+ [=permission/grant=].