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

@thiagowfx commented on this pull request.



> +            <li>
+              <a>Queue a task</a> |task| on the [=permissions task source=] of |target|'s
+              [=relevant settings object=]'s [=environment settings object/global object=]'s
+              [=Window/browsing context=] to perform the following step:
+              <ol>
+                <li>Interpret |state| as if it were the
+                result of an invocation of <a>permission state</a> for |descriptor| with the
+                argument |target| made at this moment.
+                </li>
+              </ol>
+            </li>
+            <li>[=list/Append=] |task| to |tasks|.
+            </li>
+          </ol>
+        </li>
+        <li>Wait for all <a>tasks</a> in |tasks| to have executed.

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

It seems to me the intent is to just "await" before returning from the method/function, for syncing purposes

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

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

Received on Tuesday, 21 November 2023 10:56:54 UTC