Re: [w3c/permissions] Define a permission store (closes #384) (PR #390)

@johannhof commented on this pull request.



> +        </dd>
+        <dt>
+          A <dfn data-dfn-for="powerful feature" class="export">permission key comparison algorithm</dfn>:
+        </dt>
+        <dd>
+          <p>
+            Takes two [=permission keys=] and returns a boolean that shows whether the two keys are equal.
+            If unspecified, this defaults to the <a>default permission key comparison algorithm</a>.
+          </p>
+          <p>
+            The <dfn class="export">default permission key comparison algorithm</dfn>,
+            given [=permission keys=] |key1| and |key2|, runs the following steps:
+          </p>
+          <ol class="algorithm">
+            <li>
+              If |key1| is not an [=origin=] or |key2| is not an [=origin=] return false.

Thanks for filing that, I had already asked around but not found anything. This is indeed also broken on the main branch :)

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

Message ID: <w3c/permissions/pull/390/review/1198337031@github.com>

Received on Tuesday, 29 November 2022 20:53:46 UTC