- From: Thiago Perrotta <notifications@github.com>
- Date: Tue, 21 Nov 2023 02:53:20 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 November 2023 10:53:26 UTC
@thiagowfx 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|:
There are 64 occurrences of `<a>`. Better do this in another PR, agreed? I'm afraid it would be too noisy to change them to `[= =]` in this PR.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/425#discussion_r1400393687
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/permissions/pull/425/review/1741689355@github.com>
Received on Tuesday, 21 November 2023 10:53:26 UTC