- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 20 Nov 2023 16:04:25 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 November 2023 00:04:31 UTC
@marcoscaceres commented on this pull request. > + feature/permission descriptor type=]. If this throws an exception, return a [=invalid + argument=] [=error=]. + </li> + <li> + [=Set a permission=] with |typedDescriptor| and |parameters|.{{PermissionSetParameters/state}}. + </li> + <li>Return <a>success</a> with data `null`. + </li> + </ol> + <aside class="example" title="Setting a permission via WebDriver"> + <p> + To [=extension commands/set permission=] for `{name: "midi", sysex: true}` of the + [=current settings object=] of the <a>session</a> with ID 23 to "`granted`", the local + end would POST to `/session/23/permissions` with the body: + </p> + <pre class="lang-json"> ```suggestion <pre class="json"> ``` -- Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/pull/425#pullrequestreview-1740891783 You are receiving this because you are subscribed to this thread. Message ID: <w3c/permissions/pull/425/review/1740891783@github.com>
Received on Tuesday, 21 November 2023 00:04:31 UTC