- From: Thiago Perrotta <notifications@github.com>
- Date: Tue, 21 Nov 2023 02:50:20 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 November 2023 10:50:25 UTC
@thiagowfx commented on this pull request.
> + <li>Let |parameters| be the |parameters| argument, <a>converted to an IDL value</a> of
+ type {{PermissionSetParameters}}. If this throws an exception, return an [=invalid
+ argument=] [=error=].
+ </li>
+ <li>Let |rootDesc| be |parameters|.{{PermissionSetParameters/descriptor}}.
+ </li>
+ <li>If |parameters|.{{PermissionSetParameters/state}} is an inappropriate <a>permission
+ state</a> for any implementation-defined reason, return a [=invalid argument=] [=error=].
+ <p class="note">
+ For example, <a>user agents</a> that define the "midi" <a>powerful feature</a> as
+ "always on" may choose to reject a command to set the <a>permission state</a> to
+ {{PermissionState/"denied"}} at this step.
+ </p>
+ </li>
+ <li>Let |typedDescriptor| be the object |rootDesc| refers to, <a>converted to an IDL
+ value</a> of <code>|rootDesc|.{{PermissionDescriptor/name}}</code>'s [=powerful
Done
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/425#discussion_r1400390004
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/permissions/pull/425/review/1741683621@github.com>
Received on Tuesday, 21 November 2023 10:50:25 UTC