a promise
+ If the conversion throws an exception, return a promise
rejected with that exception.
- Let promise be a new promise.
+ Let promise be a new promise.
- Return promise and continue in parallel:
+ Return promise and continue in parallel:
- Let status be create a
PermissionStatus
with typedDescriptor.
- Let query be status's
[[query]]
internal slot.
- - Run query's
name
's permission query algorithm, passing query and status.
+ - Run query's
name
's permission query algorithm, passing query and status.
- - Queue a global task on the permissions task source with this's
- relevant global object to resolve promise with status.
+
- Queue a global task on the permissions task source with this's
+ relevant global object to resolve promise with status.
@@ -1646,12 +1644,12 @@ Permissions
PermissionStatus
instances are created with a [[query]] internal slot,
- which is an instance of a feature's permission descriptor type.
+ which is an instance of a feature's permission descriptor type.
The "granted
", "denied
", and "prompt
" enum values
- represent the concepts of "granted", "denied", and
- "prompt" respectively.
+ represent the concepts of "granted", "denied", and
+ "prompt" respectively.
@@ -1879,8 +1877,8 @@ Permissions
- Two classes of product can claim conformance to this specification: user agents and
- other specifications (i.e., a technical report that specifies a powerful feature in a manner that conforms to the requirements of this specification).
+ Two classes of product can claim conformance to this specification: user agents and
+ other specifications (i.e., a technical report that specifies a powerful feature in a manner that conforms to the requirements of this specification).