Re: [w3c/permissions] Introduce Browser Permissions for WebDriver BiDi (PR #425)

@OrKoN commented on this pull request.



> +                </li>
+                <li>
+                  Let |state| be the value of the <code>state</code> field of |command
+   parameters|.
+                </li>
+                <li>
+                  If |state| is an inappropriate [=permission state=] for any
+   implementation-defined reason, return [=error=] with [=error code=] [=invalid argument=].
+                </li>
+                <li>
+                  Let |typedDescriptor| be the object |descriptor| refers to, [=converted to an IDL value=] (|descriptor|, |state|) of
+                  {{PermissionSetParameters}} |permission name|'s [=powerful feature/permission descriptor type=].
+                  If this conversion throws an exception, return [=error=] with [=error code=] [=invalid argument=].
+                </li>
+                <li>
+                  Run the [=set a permission=] algorithm, passing |typedDescriptor| and |state|.

```suggestion
                  [=Set a permission=] with |typedDescriptor| and |state|.
```

?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/425#pullrequestreview-1734327147
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/permissions/pull/425/review/1734327147@github.com>

Received on Thursday, 16 November 2023 13:06:23 UTC