Skip to content

Commit

Permalink
chore(rebuild): Meta: align with FetchNetwork scheme is now reduced t…
Browse files Browse the repository at this point in the history
…o HTTP(S) scheme and request's keepalive flag was renamed to keepalive.See whatwg/fetch#1166 for context.Closes #479.

SHA: 9bc9840
Reason: push, by @annevk

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
annevk and github-actions[bot] committed Mar 13, 2021
1 parent fcb495e commit 5ea1905
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2016/W3C-WD" rel="stylesheet" type="text/css">
<meta content="Bikeshed version b94c7e755, updated Fri Feb 19 16:28:59 2021 -0800" name="generator">
<link href="https://www.w3.org/TR/CSP3/" rel="canonical">
<meta content="c3bdfbecae6329bbc040e0cb3163eb9d8c01d9c4" name="document-revision">
<meta content="9bc9840051edc775e4111a83da9b8676bfa80364" name="document-revision">
<style>
ul.toc ul ul ul {
margin: 0 0 0 2em;
Expand Down Expand Up @@ -323,7 +323,7 @@ <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="cont
<dt>Editor's Draft:
<dd><a href="https://w3c.github.io/webappsec-csp/">https://w3c.github.io/webappsec-csp/</a>
<dt>Previous Versions:
<dd><a href="https://www.w3.org/TR/2021/WD-CSP3-20210310/" rel="prev">https://www.w3.org/TR/2021/WD-CSP3-20210310/</a>
<dd><a href="https://www.w3.org/TR/2021/WD-CSP3-20210313/" rel="prev">https://www.w3.org/TR/2021/WD-CSP3-20210313/</a>
<dt>Version History:
<dd><a href="https://github.com/w3c/webappsec-csp/commits/main/index.src.html">https://github.com/w3c/webappsec-csp/commits/main/index.src.html</a>
<dt>Feedback:
Expand Down Expand Up @@ -817,8 +817,8 @@ <h3 class="heading settled" data-level="1.3" id="changes-from-level-2"><span cla
hashes. Details in <a href="#unsafe-hashes-usage">§ 8.3 Usage of "'unsafe-hashes'"</a>.</p>
<li data-md>
<p>The <a data-link-type="dfn" href="#source-expression" id="ref-for-source-expression">source expression</a> matching has been changed to require explicit presence
of any non-<a data-link-type="dfn">network scheme</a>, rather than <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#local-scheme" id="ref-for-local-scheme">local scheme</a>,
unless that non-<a data-link-type="dfn">network scheme</a> is the same as the scheme of protected resource,
of any non-<a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#http-scheme" id="ref-for-http-scheme">HTTP(S) scheme</a>, rather than <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#local-scheme" id="ref-for-local-scheme">local scheme</a>,
unless that non-<a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#http-scheme" id="ref-for-http-scheme①">HTTP(S) scheme</a> is the same as the scheme of protected resource,
as described in <a href="#match-url-to-source-expression">§ 6.6.2.6 Does url match expression in origin with redirect count?</a>.</p>
<li data-md>
<p>Hash-based source expressions may now match external scripts if the <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/scripting.html#script" id="ref-for-script①">script</a></code> element that triggers the request specifies a set of integrity
Expand Down Expand Up @@ -1984,7 +1984,7 @@ <h3 class="heading settled algorithm" data-algorithm="Report a violation" data-l
<dt data-md><a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-request-credentials-mode" id="ref-for-concept-request-credentials-mode">credentials mode</a>
<dd data-md>
<p>"<code>same-origin</code>"</p>
<dt data-md><a data-link-type="dfn">keepalive flag</a>
<dt data-md><a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#request-keepalive-flag" id="ref-for-request-keepalive-flag">keepalive</a>
<dd data-md>
<p>"<code>true</code>"</p>
<dt data-md><a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-request-header-list" id="ref-for-concept-request-header-list">header list</a>
Expand Down Expand Up @@ -3509,11 +3509,11 @@ <h5 class="heading settled algorithm" data-algorithm="Does url match expression
the following conditions is met:</p>
<ol>
<li data-md>
<p><var>url</var>’s <a data-link-type="dfn" href="https://url.spec.whatwg.org/#concept-url-scheme" id="ref-for-concept-url-scheme③">scheme</a> is a <a data-link-type="dfn">network scheme</a>.</p>
<p><var>url</var>’s <a data-link-type="dfn" href="https://url.spec.whatwg.org/#concept-url-scheme" id="ref-for-concept-url-scheme③">scheme</a> is an <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#http-scheme" id="ref-for-http-scheme②">HTTP(S) scheme</a>.</p>
<li data-md>
<p><var>url</var>’s <a data-link-type="dfn" href="https://url.spec.whatwg.org/#concept-url-scheme" id="ref-for-concept-url-scheme④">scheme</a> is the same as <var>origin</var>’s <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/origin.html#concept-origin-scheme" id="ref-for-concept-origin-scheme">scheme</a>.</p>
</ol>
<p class="note" role="note"><span>Note:</span> This logic means that in order to allow a resource from a non-<a data-link-type="dfn">network scheme</a>,
<p class="note" role="note"><span>Note:</span> This logic means that in order to allow a resource from a non-<a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#http-scheme" id="ref-for-http-scheme③">HTTP(S) scheme</a>,
it has to be either explicitly specified (e.g. <code>default-src * data: custom-scheme-1: custom-scheme-2:</code>),
or the protected resource must be loaded from the same scheme.</p>
<li data-md>
Expand Down Expand Up @@ -5121,6 +5121,14 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
Integration with Fetch </a> <a href="#ref-for-concept-http-fetch①">(2)</a>
</ul>
</aside>
<aside class="dfn-panel" data-for="term-for-http-scheme">
<a href="https://fetch.spec.whatwg.org/#http-scheme">https://fetch.spec.whatwg.org/#http-scheme</a><b>Referenced in:</b>
<ul>
<li><a href="#ref-for-http-scheme">1.3. Changes from Level 2</a> <a href="#ref-for-http-scheme①">(2)</a>
<li><a href="#ref-for-http-scheme②">6.6.2.6.
Does url match expression in origin with redirect count? </a> <a href="#ref-for-http-scheme③">(2)</a>
</ul>
</aside>
<aside class="dfn-panel" data-for="term-for-concept-http-network-fetch">
<a href="https://fetch.spec.whatwg.org/#concept-http-network-fetch">https://fetch.spec.whatwg.org/#concept-http-network-fetch</a><b>Referenced in:</b>
<ul>
Expand All @@ -5144,6 +5152,13 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
Script directives pre-request check </a> <a href="#ref-for-concept-request-integrity-metadata①">(2)</a>
</ul>
</aside>
<aside class="dfn-panel" data-for="term-for-request-keepalive-flag">
<a href="https://fetch.spec.whatwg.org/#request-keepalive-flag">https://fetch.spec.whatwg.org/#request-keepalive-flag</a><b>Referenced in:</b>
<ul>
<li><a href="#ref-for-request-keepalive-flag">5.3.
Report a violation </a>
</ul>
</aside>
<aside class="dfn-panel" data-for="term-for-local-scheme">
<a href="https://fetch.spec.whatwg.org/#local-scheme">https://fetch.spec.whatwg.org/#local-scheme</a><b>Referenced in:</b>
<ul>
Expand Down Expand Up @@ -6555,9 +6570,11 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li><span class="dfn-paneled" id="term-for-concept-fetch">fetch</span>
<li><span class="dfn-paneled" id="term-for-concept-response-header-list">header list <small>(for response)</small></span>
<li><span class="dfn-paneled" id="term-for-concept-http-fetch">http fetch</span>
<li><span class="dfn-paneled" id="term-for-http-scheme">http(s) scheme</span>
<li><span class="dfn-paneled" id="term-for-concept-http-network-fetch">http-network fetch</span>
<li><span class="dfn-paneled" id="term-for-concept-request-initiator">initiator</span>
<li><span class="dfn-paneled" id="term-for-concept-request-integrity-metadata">integrity metadata</span>
<li><span class="dfn-paneled" id="term-for-request-keepalive-flag">keepalive</span>
<li><span class="dfn-paneled" id="term-for-local-scheme">local scheme</span>
<li><span class="dfn-paneled" id="term-for-concept-main-fetch">main fetch</span>
<li><span class="dfn-paneled" id="term-for-concept-request-method">method</span>
Expand Down

0 comments on commit 5ea1905

Please sign in to comment.