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

@marcoscaceres commented on this pull request.



>        </p>
       <pre class='idl'>
         dictionary PermissionSetParameters {
           required PermissionDescriptor descriptor;
           required PermissionState state;
         };
       </pre>
-      <section>
-        <h3 id="set-permission-command">
-          Set Permission
+      <p>To <dfn>set a permission</dfn> given <var>descriptor</var>, and <var>state</var>:
+      <ol class="algorithm">
+        <li>Let |settings| be the [=current settings object=].
+        </li>
+        <li>Let |targets| be a <a>list</a> containing all <a>environment settings objects</a>
+        whose [=environment settings object/origin=] is the <a data-lt="same origin">same</a> as
+        the [=environment settings object/origin=] of |settings|.
+        </li>
+        <li>Let |tasks| be an empty <a>list</a>.
+        </li>
+        <li>For each <a>environment settings object</a> |target| in |targets|:

Where possible, please use the [= =] syntax... 

```suggestion
        <li>For each [=environment settings object=] |target| in |targets|:
```

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

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

Received on Monday, 20 November 2023 23:53:46 UTC