Skip to content
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
15 changes: 0 additions & 15 deletions features/draft/spec/screen-wake-lock.yml

This file was deleted.

10 changes: 10 additions & 0 deletions features/screen-wake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Screen wake lock
description: The `navigator.wakeLock.request("screen")` API prevents the device's screen from dimming or being turned off.
spec: https://w3c.github.io/screen-wake-lock/
caniuse: wake-lock
# TODO: resolve these minor differences with caniuse:
# - Chrome 84 vs. 85
# - Edge 84 vs. 90
Comment on lines +5 to +7
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to #1499 as well.

status:
compute_from:
- api.WakeLock.request
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
status:
baseline: false
support:
chrome: "88"
chrome_android: "88"
edge: "88"
chrome: "84"
chrome_android: "84"
edge: "84"
firefox: "126"
firefox_android: "126"
safari: "16.4"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "84"
Expand Down Expand Up @@ -43,7 +47,6 @@ compat_features:
# firefox_android: "126"
- api.Permissions.permission_screen-wake-lock

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "88"
Expand Down