Skip to content

Commit

Permalink
Daily sync of Bikeshed files from specs.data (speced#1978)
Browse files Browse the repository at this point in the history
Co-authored-by: tabatkins <[email protected]>
  • Loading branch information
github-actions[bot] and tabatkins authored Mar 16, 2021
1 parent b9f8371 commit 4d06412
Show file tree
Hide file tree
Showing 95 changed files with 24,487 additions and 5,635 deletions.
384 changes: 383 additions & 1 deletion tests/github/WICG/app-history/spec.bs

Large diffs are not rendered by default.

1,724 changes: 1,722 additions & 2 deletions tests/github/WICG/app-history/spec.html

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions tests/github/WICG/client-hints-infrastructure/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,10 @@ A <dfn>client hints token</dfn> is a [=byte-lowercase=] representation of one of
`Downlink`,
`ECT`,
`Sec-CH-UA-Arch`,
`Sec-CH-UA-Bitness`,
`Sec-CH-UA-Model`,
`Sec-CH-UA-Platform`,
`Sec-CH-UA-Platform-Version`,
`Sec-CH-UA` or
`Sec-CH-UA-Mobile`.

Expand All @@ -317,8 +319,10 @@ the following [=policy-controlled features=]:
- <code><dfn export>ch-downlink</dfn></code> which has a [=default allowlist=] of `'self'`
- <code><dfn export>ch-ect</dfn></code> which has a [=default allowlist=] of `'self'`
- <code><dfn export>ch-ua-arch</dfn></code> which has a [=default allowlist=] of `'self'`
- <code><dfn export>ch-ua-bitness</dfn></code> which has a [=default allowlist=] of `'self'`
- <code><dfn export>ch-ua-model</dfn></code> which has a [=default allowlist=] of `'self'`
- <code><dfn export>ch-ua-platform</dfn></code> which has a [=default allowlist=] of `'self'`
- <code><dfn export>ch-ua-platform-version</dfn></code> which has a [=default allowlist=] of `'self'`
- <code><dfn export>ch-ua</dfn></code> which has a [=default allowlist=] of `'*'`
- <code><dfn export>ch-ua-mobile</dfn></code> which has a [=default allowlist=] of `'*'`

Expand Down Expand Up @@ -371,10 +375,14 @@ When asked to <dfn>find client hint value</dfn>, given |hint| as input, switch o
<dd>a suitable <a href=https://wicg.github.io/netinfo/#ect-request-header-field>ECT value</a>
<dt>`UA-Arch`
<dd>a suitable <a href=https://wicg.github.io/ua-client-hints/#sec-ch-ua-arch>Arch value</a>
<dt>`UA-Bitness`
<dd>a suitable <a href=https://wicg.github.io/ua-client-hints/#sec-ch-ua-bitness>Bitness value</a>
<dt>`UA-Model`
<dd>a suitable <a href=https://wicg.github.io/ua-client-hints/#sec-ch-ua-model>Model value</a>
<dt>`UA-Platform`
<dd>a suitable <a href=https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform>Platform value</a>
<dt>`UA-Platform Version`
<dd>a suitable <a href=https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform-version>Platform-Version value</a>
<dt>`UA`
<dd>a suitable <a href=https://wicg.github.io/ua-client-hints/#sec-ch-ua>UA value</a>
<dt>`UA-Mobile`
Expand Down
22 changes: 16 additions & 6 deletions tests/github/WICG/client-hints-infrastructure/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ <h2 class="heading settled" data-level="7" id="registry"><span class="secno">7.
New features that rely on the Client Hints infrastructure need to add their respective definitions to this registry.
User Agents can implement some of those features without implementing others.</p>
<h3 class="heading settled" data-level="7.1" id="client-hints-token-definition"><span class="secno">7.1. </span><span class="content">Client hints token</span><a class="self-link" href="#client-hints-token-definition"></a></h3>
<p>A <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="client-hints-token">client hints token</dfn> is a <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#byte-lowercase" id="ref-for-byte-lowercase">byte-lowercase</a> representation of one of <code>Save-Data</code>, <code>DPR</code>, <code>Width</code>, <code>Viewport-Width</code>, <code>Viewport-Height</code>, <code>Device-Memory</code>, <code>RTT</code>, <code>Downlink</code>, <code>ECT</code>, <code>Sec-CH-UA-Arch</code>, <code>Sec-CH-UA-Model</code>, <code>Sec-CH-UA-Platform</code>, <code>Sec-CH-UA</code> or <code>Sec-CH-UA-Mobile</code>.</p>
<p>A <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="client-hints-token">client hints token</dfn> is a <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#byte-lowercase" id="ref-for-byte-lowercase">byte-lowercase</a> representation of one of <code>Save-Data</code>, <code>DPR</code>, <code>Width</code>, <code>Viewport-Width</code>, <code>Viewport-Height</code>, <code>Device-Memory</code>, <code>RTT</code>, <code>Downlink</code>, <code>ECT</code>, <code>Sec-CH-UA-Arch</code>, <code>Sec-CH-UA-Bitness</code>, <code>Sec-CH-UA-Model</code>, <code>Sec-CH-UA-Platform</code>, <code>Sec-CH-UA-Platform-Version</code>, <code>Sec-CH-UA</code> or <code>Sec-CH-UA-Mobile</code>.</p>
<p class="note" role="note"><span>Note:</span> A client hints token will also match the request header sent by the user agent when
appropriate (as determined by the <a href="#request-processing">request processing algorithm</a>).</p>
<h3 class="heading settled" data-level="7.2" id="policy-controlled-features"><span class="secno">7.2. </span><span class="content">Policy-controlled features</span><a class="self-link" href="#policy-controlled-features"></a></h3>
Expand Down Expand Up @@ -775,13 +775,17 @@ <h3 class="heading settled" data-level="7.2" id="policy-controlled-features"><sp
<li data-md>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-arch">ch-ua-arch<a class="self-link" href="#ch-ua-arch"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist⑨">default allowlist</a> of <code>'self'</code></p>
<li data-md>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-model">ch-ua-model<a class="self-link" href="#ch-ua-model"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①⓪">default allowlist</a> of <code>'self'</code></p>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-bitness">ch-ua-bitness<a class="self-link" href="#ch-ua-bitness"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①⓪">default allowlist</a> of <code>'self'</code></p>
<li data-md>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-platform">ch-ua-platform<a class="self-link" href="#ch-ua-platform"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①①">default allowlist</a> of <code>'self'</code></p>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-model">ch-ua-model<a class="self-link" href="#ch-ua-model"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①①">default allowlist</a> of <code>'self'</code></p>
<li data-md>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua">ch-ua<a class="self-link" href="#ch-ua"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①②">default allowlist</a> of <code>'*'</code></p>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-platform">ch-ua-platform<a class="self-link" href="#ch-ua-platform"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①②">default allowlist</a> of <code>'self'</code></p>
<li data-md>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-mobile">ch-ua-mobile<a class="self-link" href="#ch-ua-mobile"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①③">default allowlist</a> of <code>'*'</code></p>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-platform-version">ch-ua-platform-version<a class="self-link" href="#ch-ua-platform-version"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①③">default allowlist</a> of <code>'self'</code></p>
<li data-md>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua">ch-ua<a class="self-link" href="#ch-ua"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①④">default allowlist</a> of <code>'*'</code></p>
<li data-md>
<p><code><dfn data-dfn-type="dfn" data-export id="ch-ua-mobile">ch-ua-mobile<a class="self-link" href="#ch-ua-mobile"></a></dfn></code> which has a <a data-link-type="dfn" href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist" id="ref-for-default-allowlist①⑤">default allowlist</a> of <code>'*'</code></p>
</ul>
<p class="issue" id="issue-0277eb34"><a class="self-link" href="#issue-0277eb34"></a> Should we tie low-entropy-ness to allowlists, generally?</p>
<h3 class="heading settled" data-level="7.3" id="low-entropy-table"><span class="secno">7.3. </span><span class="content">Low entropy hint table</span><a class="self-link" href="#low-entropy-table"></a></h3>
Expand Down Expand Up @@ -825,10 +829,14 @@ <h3 class="heading settled" data-level="7.4" id="find-client-hint-value-section"
<dd>a suitable <a href="https://wicg.github.io/netinfo/#ect-request-header-field">ECT value</a>
<dt><code>UA-Arch</code>
<dd>a suitable <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-arch">Arch value</a>
<dt><code>UA-Bitness</code>
<dd>a suitable <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-bitness">Bitness value</a>
<dt><code>UA-Model</code>
<dd>a suitable <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-model">Model value</a>
<dt><code>UA-Platform</code>
<dd>a suitable <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform">Platform value</a>
<dt><code>UA-Platform Version</code>
<dd>a suitable <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform-version">Platform-Version value</a>
<dt><code>UA</code>
<dd>a suitable <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua">UA value</a>
<dt><code>UA-Mobile</code>
Expand Down Expand Up @@ -898,9 +906,11 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
<li><a href="#ch-save-data">ch-save-data</a><span>, in §7.2</span>
<li><a href="#ch-ua">ch-ua</a><span>, in §7.2</span>
<li><a href="#ch-ua-arch">ch-ua-arch</a><span>, in §7.2</span>
<li><a href="#ch-ua-bitness">ch-ua-bitness</a><span>, in §7.2</span>
<li><a href="#ch-ua-mobile">ch-ua-mobile</a><span>, in §7.2</span>
<li><a href="#ch-ua-model">ch-ua-model</a><span>, in §7.2</span>
<li><a href="#ch-ua-platform">ch-ua-platform</a><span>, in §7.2</span>
<li><a href="#ch-ua-platform-version">ch-ua-platform-version</a><span>, in §7.2</span>
<li><a href="#ch-viewport-height">ch-viewport-height</a><span>, in §7.2</span>
<li><a href="#ch-viewport-width">ch-viewport-width</a><span>, in §7.2</span>
<li><a href="#ch-width">ch-width</a><span>, in §7.2</span>
Expand Down Expand Up @@ -1115,7 +1125,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
<aside class="dfn-panel" data-for="term-for-default-allowlist">
<a href="https://w3c.github.io/webappsec-permissions-policy/#default-allowlist">https://w3c.github.io/webappsec-permissions-policy/#default-allowlist</a><b>Referenced in:</b>
<ul>
<li><a href="#ref-for-default-allowlist">7.2. Policy-controlled features</a> <a href="#ref-for-default-allowlist①">(2)</a> <a href="#ref-for-default-allowlist②">(3)</a> <a href="#ref-for-default-allowlist③">(4)</a> <a href="#ref-for-default-allowlist④">(5)</a> <a href="#ref-for-default-allowlist⑤">(6)</a> <a href="#ref-for-default-allowlist⑥">(7)</a> <a href="#ref-for-default-allowlist⑦">(8)</a> <a href="#ref-for-default-allowlist⑧">(9)</a> <a href="#ref-for-default-allowlist⑨">(10)</a> <a href="#ref-for-default-allowlist①⓪">(11)</a> <a href="#ref-for-default-allowlist①①">(12)</a> <a href="#ref-for-default-allowlist①②">(13)</a> <a href="#ref-for-default-allowlist①③">(14)</a>
<li><a href="#ref-for-default-allowlist">7.2. Policy-controlled features</a> <a href="#ref-for-default-allowlist①">(2)</a> <a href="#ref-for-default-allowlist②">(3)</a> <a href="#ref-for-default-allowlist③">(4)</a> <a href="#ref-for-default-allowlist④">(5)</a> <a href="#ref-for-default-allowlist⑤">(6)</a> <a href="#ref-for-default-allowlist⑥">(7)</a> <a href="#ref-for-default-allowlist⑦">(8)</a> <a href="#ref-for-default-allowlist⑧">(9)</a> <a href="#ref-for-default-allowlist⑨">(10)</a> <a href="#ref-for-default-allowlist①⓪">(11)</a> <a href="#ref-for-default-allowlist①①">(12)</a> <a href="#ref-for-default-allowlist①②">(13)</a> <a href="#ref-for-default-allowlist①③">(14)</a> <a href="#ref-for-default-allowlist①④">(15)</a> <a href="#ref-for-default-allowlist①⑤">(16)</a>
</ul>
</aside>
<aside class="dfn-panel" data-for="term-for-policy-controlled-feature">
Expand Down
Loading

0 comments on commit 4d06412

Please sign in to comment.