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

@thiagowfx commented on this pull request.



> +   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>
+                  [=Set a permission=] with |typedDescriptor| and |state|.
+                </li>
+                <li>
+                  Return [=success=] with data null.

Done

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

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

Received on Wednesday, 22 November 2023 12:39:31 UTC