diff --git a/index.bs b/index.bs index 6acd2cb..39da61f 100644 --- a/index.bs +++ b/index.bs @@ -197,7 +197,7 @@ spec:webidl; type:interface; text:Promise A |descriptor|'s permission state for an optional environment settings object |settings| is the result of the following algorithm, which returns one of - {{PermissionState/"granted"}}, {{PermissionState/"prompt"}}, or {{PermissionState/"denied"}}: + the {{PermissionState}} enum values or failure:
|descriptor|.{{PermissionDescriptor/name}} and |settings| has an
associated `Document` named document, run the following step:
|descriptor|.{{PermissionDescriptor/name}}
@@ -464,6 +467,12 @@ spec:webidl; type:interface; text:Promise
it MUST asynchronously run the following steps:
status@{{PermissionStatus/[[query]]}}.{{PermissionDescriptor/name}}'s permission
query algorithm, passing status@{{PermissionStatus/[[query]]}}
@@ -512,6 +521,15 @@ spec:webidl; type:interface; text:Promise
permissionDesc: