Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect Feature-Policy/wake-lock to screen-wake-lock #4873

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11051,6 +11051,7 @@
/en-US/docs/Web/HTTP/HTTP_response_codes /en-US/docs/Web/HTTP/Status
/en-US/docs/Web/HTTP/Headers/Cache-Disposition /en-US/docs/Web/HTTP/Headers/Content-Disposition
/en-US/docs/Web/HTTP/Headers/Feature-Policy/publickey-credentials /en-US/docs/Web/HTTP/Headers/Feature-Policy/publickey-credentials-get
/en-US/docs/Web/HTTP/Headers/Feature-Policy/wake-lock /en-US/docs/Web/HTTP/Headers/Feature-Policy/screen-wake-lock
/en-US/docs/Web/HTTP/Headers/Feature-Policy/webauthn /en-US/docs/Web/HTTP/Headers/Feature-Policy/publickey-credentials-get
/en-US/docs/Web/HTTP/Headers/Ranges /en-US/docs/Web/HTTP/Headers/Range
/en-US/docs/Web/HTTP/History_of_HTTP_versions /en-US/docs/Web/HTTP/Basics_of_HTTP/Evolution_of_HTTP
Expand Down
6 changes: 0 additions & 6 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -129550,12 +129550,6 @@
"fscholz"
]
},
"Web/HTTP/Headers/Feature-Policy/wake-lock": {
"modified": "2020-10-15T22:20:16.679Z",
"contributors": [
"bershanskiy"
]
},
"Web/HTTP/Headers/Feature-Policy/web-share": {
"modified": "2020-12-10T15:06:45.009Z",
"contributors": [
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/http/headers/feature-policy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ <h2 id="Directives">Directives</h2>
<dd>Controls whether the current document is allowed to use the <a href="https://wicg.github.io/webusb/">WebUSB API</a>.</dd>
<dt>{{httpheader('Feature-Policy/vr', 'vr')}} {{deprecated_inline}}</dt>
<dd>Controls whether the current document is allowed to use the <a href="/en-US/docs/Web/API/WebVR_API">WebVR API</a>. When this policy is disabled, the {{jsxref("Promise")}} returned by {{domxref("Navigator.getVRDisplays","Navigator.getVRDisplays()")}} will reject with a {{domxref("DOMException")}}. Keep in mind that the WebVR standard is in the process of being replaced with <a href="/en-US/docs/Web/API/WebXR_Device_API">WebXR</a>.</dd>
<dt>{{httpheader('Feature-Policy/wake-lock', 'wake-lock')}}</dt>
<dd>Controls whether the current document is allowed to use <a href="https://www.w3.org/TR/wake-lock/">Wake Lock API</a> to indicate that device should not enter power-saving mode.</dd>
<dt>{{httpheader('Feature-Policy/screen-wake-lock', 'screen-wake-lock')}}</dt>
<dd>Controls whether the current document is allowed to use <a href="/en-US/docs/Web/API/Screen_Wake_Lock_API">Screen Wake Lock API</a> to indicate that device should not turn off or dim the screen.</dd>
<dt>{{httpheader("Feature-Policy/web-share", "web-share")}}</dt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<p><span class="seoSummary">The HTTP {{HTTPHeader("Feature-Policy")}} header <strong><code>screen-wake-lock</code></strong> directive controls whether the current document is allowed to use <a href="/en-US/docs/Web/API/Screen_Wake_Lock_API">Screen Wake Lock API</a> to indicate that device should not dim or turn off the screen.</span></p>

<div class="notecard note">
<p><strong>Note:</strong> In earlier specification drafts this directive was called {{HTTPHeader("Feature-Policy/wake-lock","wake-lock")}}.</p>
<p><strong>Note:</strong> In earlier specification drafts this directive was called <code>wake-lock</code>")}}.</p>
</div>

<h2 id="Syntax">Syntax</h2>
Expand Down

This file was deleted.