- From: Thiago Perrotta <notifications@github.com>
- Date: Wed, 22 Nov 2023 04:52:10 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 November 2023 12:52:15 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|: I changed the occurrence you asked for, but won't change many others so that we don't add a lot of noise in the PR -- Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/pull/425#discussion_r1402000276 You are receiving this because you are subscribed to this thread. Message ID: <w3c/permissions/pull/425/review/1744309365@github.com>
Received on Wednesday, 22 November 2023 12:52:15 UTC