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

@thiagowfx 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|.

Done

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

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

Received on Thursday, 16 November 2023 13:16:34 UTC