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

@thiagowfx commented on this pull request.



> -        <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|:
+          <ol>
+            <li>
+              <a>Queue a task</a> |task| on the [=permissions task source=] of |target|'s

This is part of pre-existing prose: https://www.w3.org/TR/permissions/#set-permission-command

Should I make the proposed change?

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

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

Received on Tuesday, 21 November 2023 10:52:03 UTC