Let |typedDescriptor| be the object |permissionDesc| refers to, converted to an
- IDL value of |rootDesc|'s {{PermissionDescriptor/name}}'s [=powerful
+
Let |typedDescriptor| be the object |permissionDesc| refers to, [=converted to an
+ IDL value=] of |rootDesc|'s {{PermissionDescriptor/name}}'s [=powerful
feature/permission descriptor type=].
-
If the conversion [=exception/throws=] an [=exception=], return a promise
- rejected with that exception.
+
If the conversion [=exception/throws=] an [=exception=], return [=a promise
+ rejected with=] that exception.
Let |status| be [=create a `PermissionStatus`=] with |typedDescriptor|.
Let |query| be |status|'s {{PermissionStatus/[[query]]}} internal slot.
@@ -1083,8 +1083,8 @@
`onchange` attribute
- The onchange attribute is an event handler whose corresponding
- event handler event type is change.
+ The onchange attribute is an [=event handler=] whose corresponding
+ [=event handler event type=] is change.
Whenever the [=user agent=] is aware that the state of a {{PermissionStatus}} instance
@@ -1108,7 +1108,7 @@
algorithm=], passing |query| and |status|.
- Queue a task on the [=permissions task source=] to fire an event named
+ [=Queue a task=] on the [=permissions task source=] to [=fire an event=] named
change at |status|.
@@ -1179,8 +1179,8 @@
For the purposes of user-agent automation and application testing, this document defines
- the following extension commands for the [[WebDriver]] specification. It is OPTIONAL
- for a user agent to support extension commands commands.
+ the following [=extension commands=] for the [[WebDriver]] specification. It is OPTIONAL
+ for a user agent to support [=extension commands=] commands.
The Set Permission
- extension command simulates user modification of a {{PermissionDescriptor}}'s
- permission state.
+ [=extension command=] simulates user modification of a {{PermissionDescriptor}}'s
+ [=permission state=].
Let |parameters| be the |parameters| argument, [=converted to an IDL value=] of
type {{PermissionSetParameters}}. If this throws an exception, return an [=invalid
argument=] [=error=].
Let |rootDesc| be |parameters|.{{PermissionSetParameters/descriptor}}.
-
Let |typedDescriptor| be the object |rootDesc| refers to, converted to an IDL
- value of |rootDesc|.{{PermissionDescriptor/name}}'s [=powerful
+
Let |typedDescriptor| be the object |rootDesc| refers to, [=converted to an IDL
+ value=] of |rootDesc|.{{PermissionDescriptor/name}}'s [=powerful
feature/permission descriptor type=]. If this throws an exception, return a [=invalid
argument=] [=error=].
-
If |parameters|.{{PermissionSetParameters/state}} is an inappropriate permission
- state for any implementation-defined reason, return a [=invalid argument=] [=error=].
+
If |parameters|.{{PermissionSetParameters/state}} is an inappropriate [=permission
+ state=] for any implementation-defined reason, return a [=invalid argument=] [=error=].
- For example, user agents that define the "midi" powerful feature as
- "always on" may choose to reject a command to set the permission state to
+ For example, [=user agents=] that define the "midi" [=powerful feature=] as
+ "always on" may choose to reject a command to set the [=permission state=] to
{{PermissionState/"denied"}} at this step.
Let |settings| be the [=current settings object=].
Let |targets| be a [=list=] containing all [=environment settings objects=]
whose [=environment settings object/origin=] is the same as
the [=environment settings object/origin=] of |settings|.
For each [=environment settings object=] |target| in |targets|:
- Queue a task |task| on the [=permissions task source=] of |target|'s
+ [=Queue a task=] |task| on the [=permissions task source=] of |target|'s
[=relevant settings object=]'s [=environment settings object/global object=]'s
[=Window/browsing context=] to perform the following step:
Interpret |parameters|.{{PermissionSetParameters/state}} as if it were the
- result of an invocation of permission state for |typedDescriptor| with the
+ result of an invocation of [=permission state=] for |typedDescriptor| with the
argument |target| made at this moment.