Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
SHA: f909827
Reason: push, by clelland

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
clelland and github-actions[bot] committed Jan 21, 2023
1 parent 02c0233 commit 1e000ca
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<meta content="ED" name="w3c-status">
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<link href="https://www.w3.org/2008/site/images/favicon.ico" rel="icon">
<meta content="Bikeshed version 26e85e599, updated Thu Dec 8 15:29:31 2022 -0800" name="generator">
<meta content="Bikeshed version d6f2d6445, updated Tue Jan 17 11:25:25 2023 -0800" name="generator">
<link href="https://www.w3.org/TR/permissions-policy/" rel="canonical">
<meta content="e138f22fd9df0a2d5d517b98cfbdd82239da95cb" name="document-revision">
<meta content="f909827808f30fe203977b64e2556ef02c0cec25" name="document-revision">
<style>
.unstable::before {
content: "This section is not stable.";
Expand Down Expand Up @@ -841,7 +841,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1 class="p-name no-ref" id="title">Permissions Policy</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2023-01-10">10 January 2023</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2023-01-21">21 January 2023</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand All @@ -860,7 +860,7 @@ <h1 class="p-name no-ref" id="title">Permissions Policy</h1>
</div>
</details>
<div data-fill-with="warning"></div>
<p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2023 <a href="https://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="https://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="https://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="https://www.keio.ac.jp/">Keio</a>, <a href="https://ev.buaa.edu.cn/">Beihang</a>). W3C <a href="https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document" rel="license">permissive document license</a> rules apply. </p>
<p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2023 <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document" rel="license">permissive document license</a> rules apply. </p>
<hr title="Separator for header">
</div>
<div class="p-summary" data-fill-with="abstract">
Expand Down Expand Up @@ -1646,7 +1646,7 @@ <h2 class="heading settled" data-level="8" id="reporting"><span class="secno">8.
enforced in this case. <a data-link-type="dfn" href="#permissionspolicyviolationreportbody-disposition" id="ref-for-permissionspolicyviolationreportbody-disposition">disposition</a> will be set to
"enforce" if the policy was enforced, or "report" if the <a data-link-type="dfn" href="#violate" id="ref-for-violate⑥">violation</a> resulted only in this report being generated (with no further action taken
by the user agent in response to the violation).</p>
<p class="note" role="note"><span>Note:</span> There is currently no mechanism in place for enabling report-only
<p class="note" role="note"><span class="marker">Note:</span> There is currently no mechanism in place for enabling report-only
mode, so <a data-link-type="dfn" href="#permissionspolicyviolationreportbody-disposition" id="ref-for-permissionspolicyviolationreportbody-disposition①">disposition</a> will always
be set to "enforce".</p>
</ul>
Expand Down Expand Up @@ -1892,16 +1892,13 @@ <h3 class="heading settled" data-level="9.8" id="algo-define-inherited-policy-in
(<var>origin</var>), this algorithm returns the <a data-link-type="dfn" href="#inherited-policy" id="ref-for-inherited-policy⑦">inherited policy</a> for that
feature.
<ol>
<li data-md>
<p>Let <var>policy</var> be <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document④">node document</a>’s <a data-link-type="dfn" href="#permissions-policy" id="ref-for-permissions-policy①⓪">Permissions
Policy</a>.</p>
<li data-md>
<p>If the result of executing <a data-link-type="abstract-op" href="#is-feature-enabled" id="ref-for-is-feature-enabled">Is feature
enabled in document for origin?</a> on <var>feature</var>, <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document">node document</a>, and <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document">node document</a>''s origin
enabled in document for origin?</a> on <var>feature</var>, <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document">node document</a>, and <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document">node document</a>''s origin
is "<code>Disabled</code>", return "<code>Disabled</code>".</p>
<li data-md>
<p>If the result of executing <a data-link-type="abstract-op" href="#is-feature-enabled" id="ref-for-is-feature-enabled①">Is feature
enabled in document for origin?</a> on <var>feature</var>, <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document">node document</a>, and <var>origin</var> is "<code>Disabled</code>",
enabled in document for origin?</a> on <var>feature</var>, <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document">node document</a>, and <var>origin</var> is "<code>Disabled</code>",
return "<code>Disabled</code>".</p>
<li data-md>
<p>Let <var>container policy</var> be the result of running <a data-link-type="abstract-op" href="#process-policy-attributes" id="ref-for-process-policy-attributes">Process
Expand All @@ -1918,7 +1915,7 @@ <h3 class="heading settled" data-level="9.8" id="algo-define-inherited-policy-in
<p>If <var>feature</var>’s <a data-link-type="dfn" href="#policy-controlled-feature-default-allowlist" id="ref-for-policy-controlled-feature-default-allowlist③">default allowlist</a> is <code>*</code>, return
"<code>Enabled</code>".</p>
<li data-md>
<p>If <var>feature</var>’s <a data-link-type="dfn" href="#policy-controlled-feature-default-allowlist" id="ref-for-policy-controlled-feature-default-allowlist④">default allowlist</a> is <code>'self'</code>, and <var>origin</var> is <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#same-origin" id="ref-for-same-origin">same origin</a> with <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document">node document</a>’s
<p>If <var>feature</var>’s <a data-link-type="dfn" href="#policy-controlled-feature-default-allowlist" id="ref-for-policy-controlled-feature-default-allowlist④">default allowlist</a> is <code>'self'</code>, and <var>origin</var> is <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/browsers.html#same-origin" id="ref-for-same-origin">same origin</a> with <var>container</var>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-node-document" id="ref-for-concept-node-document">node document</a>’s
origin, return "<code>Enabled</code>".</p>
<li data-md>
<p>Otherwise return "<code>Disabled</code>".</p>
Expand All @@ -1935,7 +1932,7 @@ <h3 class="heading settled" data-level="9.9" id="algo-is-feature-enabled"><span
<p></p>
<ol>
<li data-md>
<p>Let <var>policy</var> be <var>document</var>’s <a data-link-type="dfn" href="#permissions-policy" id="ref-for-permissions-policy①">Permissions Policy</a></p>
<p>Let <var>policy</var> be <var>document</var>’s <a data-link-type="dfn" href="#permissions-policy" id="ref-for-permissions-policy①">Permissions Policy</a></p>
<li data-md>
<p>If <var>policy</var>’s <a data-link-type="dfn" href="#inherited-policy" id="ref-for-inherited-policy⑧">inherited policy</a> for <var>feature</var> is Disabled, return
"<code>Disabled</code>".</p>
Expand Down Expand Up @@ -1996,7 +1993,7 @@ <h3 class="heading settled" data-level="9.10" id="algo-report-permissions-policy
"permissions-policy-violation", <var>group</var>, and <var>settings</var>.</p>
</ol>
</div>
<p class="note" role="note"><span>Note:</span> This algorithm should be called when a permissions policy has
<p class="note" role="note"><span class="marker">Note:</span> This algorithm should be called when a permissions policy has
been <a data-link-type="dfn" href="#violate" id="ref-for-violate⑧">violated</a>.</p>
</section>
<section>
Expand Down Expand Up @@ -2343,7 +2340,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
<a href="https://dom.spec.whatwg.org/#concept-node-document">https://dom.spec.whatwg.org/#concept-node-document</a><b>Referenced in:</b>
<ul>
<li><a href="#ref-for-concept-node-document">7.2. The permissionsPolicy object</a> <a href="#ref-for-concept-node-document①">(2)</a> <a href="#ref-for-concept-node-document②">(3)</a> <a href="#ref-for-concept-node-document③">(4)</a>
<li><a href="#ref-for-concept-node-document④">9.8. Define an inherited policy for feature in container at origin</a> <a href="#ref-for-concept-node-document⑤">(2)</a> <a href="#ref-for-concept-node-document⑥">(3)</a> <a href="#ref-for-concept-node-document⑦">(4)</a> <a href="#ref-for-concept-node-document⑧">(5)</a>
<li><a href="#ref-for-concept-node-document④">9.8. Define an inherited policy for feature in container at origin</a> <a href="#ref-for-concept-node-document⑤">(2)</a> <a href="#ref-for-concept-node-document⑥">(3)</a> <a href="#ref-for-concept-node-document⑦">(4)</a>
</ul>
</aside>
<aside class="dfn-panel" data-for="term-for-concept-header-list-get-structured-header">
Expand Down Expand Up @@ -2845,8 +2842,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
<li><a href="#ref-for-permissions-policy⑤">7.2. The permissionsPolicy object</a> <a href="#ref-for-permissions-policy⑥">(2)</a>
<li><a href="#ref-for-permissions-policy⑦">9.5. Create a Permissions Policy for a browsing context</a> <a href="#ref-for-permissions-policy⑧">(2)</a>
<li><a href="#ref-for-permissions-policy⑨">9.6. Create a Permissions Policy for a browsing context from response</a>
<li><a href="#ref-for-permissions-policy①⓪">9.8. Define an inherited policy for feature in container at origin</a>
<li><a href="#ref-for-permissions-policy①①">9.9. Is feature enabled in document for origin?</a>
<li><a href="#ref-for-permissions-policy①⓪">9.9. Is feature enabled in document for origin?</a>
</ul>
</aside>
<aside class="dfn-panel" data-for="inherited-policy">
Expand Down

0 comments on commit 1e000ca

Please sign in to comment.