Skip to content

Commit 18a2f87

Browse files
committed
Rename the header
1 parent d6b23aa commit 18a2f87

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ spec:reporting; urlPrefix: https://w3c.github.io/reporting/
8080
within their application. It can do so by delivering the following HTTP
8181
response header to define a feature policy:</p>
8282
<pre>
83-
<a http-header>Feature-Policy</a>: fullscreen 'none'; geolocation 'none'</pre>
83+
<a http-header>Permissions-Policy</a>: fullscreen 'none'; geolocation 'none'</pre>
8484
<p>By specifying the "<code>'none'</code>"keyword for the origin list, the
8585
specified features will be disabled for all browsing contexts, regardless of
8686
their origin.</p>
@@ -102,7 +102,7 @@ spec:reporting; urlPrefix: https://w3c.github.io/reporting/
102102
this by delivering the following HTTP response header to define a restricted
103103
feature policy for Geolocation:</p>
104104
<pre>
105-
<a http-header>Feature-Policy</a>: geolocation 'self' https://example.com</pre>
105+
<a http-header>Permissions-Policy</a>: geolocation 'self' https://example.com</pre>
106106
<p>The <a>allowlist</a> is a list of one or more origins, which can include
107107
the application's origin, optionally with the keyword "<code>'self'</code>",
108108
and any third-party origin.</p>
@@ -337,11 +337,11 @@ spec:reporting; urlPrefix: https://w3c.github.io/reporting/
337337
<section>
338338
<h2 id="delivery">Delivery</h2>
339339
<section>
340-
<h3 id="feature-policy-http-header-field">Feature-Policy HTTP Header
340+
<h3 id="permissions-policy-http-header-field">Permissions-Policy HTTP Header
341341
Field</h3>
342342
<p>The &#96;<dfn export http-header
343-
id="feature-policy-header"><code>Feature-Policy</code></dfn>&#96; HTTP
344-
header field can be used in the [=response=] (server to client) to
343+
id="permissions-policy-header"><code>Permissions-Policy</code></dfn>&#96;
344+
HTTP header field can be used in the [=response=] (server to client) to
345345
communicate the <a>feature policy</a> that should be enforced by the
346346
client.</p>
347347
<p>The header's value is the <a href="#ascii-serialization"></a> of one or
@@ -720,12 +720,12 @@ partial interface HTMLIFrameElement {
720720
<ol>
721721
<li>Abort these steps if the <var>response</var>’s <a
722722
for="response">header list</a> does not contain a [=header=] whose
723-
[=name=] is "<code>Feature-Policy</code>".
723+
[=name=] is "<code>Permissions-Policy</code>".
724724
</li>
725725
<li>Let <var>header</var> be the concatenation of the [=value=]s of all
726726
[=header=] fields in <var>response</var>’s <a
727727
for="response">header list</a> whose name is
728-
"<code>Feature-Policy</code>", separated by U+002C (,) (according to
728+
"<code>Permissions-Policy</code>", separated by U+002C (,) (according to
729729
[RFC7230, 3.2.2]).</li>
730730
<li>Let <var>feature policy</var> be the result of executing <a>Parse
731731
header from value and origin</a> on <var>header</var> and
@@ -1081,7 +1081,7 @@ partial interface HTMLIFrameElement {
10811081
following registration [[!RFC3864]]:</p>
10821082
<dl>
10831083
<dt>Header field name</dt>
1084-
<dd>Feature-Policy</dd>
1084+
<dd>Permissions-Policy</dd>
10851085
<dt>Applicable protocol</dt>
10861086
<dd>http</dd>
10871087
<dt>Status</dt>

0 commit comments

Comments
 (0)