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

@OrKoN commented on this pull request.



> +                    browser.SetPermissionParameters = {
+                      descriptor: browser.PermissionDescriptor,
+                      state: browser.PermissionState,
+                      ? context: browsingContext.BrowsingContext,
+                      ? origin: text,
+                    }
+                  </pre>
+                </dd>
+                <dt>Result Type</dt>
+                <dd>
+                  <pre class="cddl">
+                    EmptyResult
+                  </pre>
+                </dd>
+             </dl>
+             <div algorithm="remote end steps for permissions.setPermission">

You create a new algorithm for the part that is the same and then invoke it in both commands mapping command parameters to the algorithm?  

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

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

Received on Tuesday, 7 November 2023 11:43:29 UTC