Contact emails
rei...@chromium.org, wande...@chromium.org
Spec
https://w3c.github.io/screen-wake-lock/
Summary
This API allows a site to prevent the system from automatically locking or powering off the display. Sites currently accomplish this through libraries such as NoSleep.js, which abuse a <video> tag to create a wake lock. In this API, to make this request the page must already be visible and the user can override the lock by switching to another tab or manually locking or powering off their display.
An Origin Trial for the Screen Wake Lock API started in Chrome 79 and is scheduled to end in Chrome 81. Developers provided positive feedback and we have LGTMs to ship this feature in Chrome 84. Due to final changes being made to the specification we missed the Chrome 83 feature freeze and so are requesting to extend this Origin Trial for an additional milestone.
Link to “Intent to Prototype” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/KMNZmMF1_H4/U6EGekDrBwAJ
Goals for experimentation
The feature has been approved by Blink API owners to ship in [1] however there are final changes to the specification[2] that need to be integrated before we can mark the API stable.
The goals of this experiment are to allow developers to adapt to the updated feature policy name and to provide continuity before the API is launched in Chrome 84.
Experimental timeline
The experiment will run for a single release in Chrome 83.
Any risks when the experiment finishes?
Sites will lose the ability to keep the screen awake which may cause a regression in user experience.
Reason this experiment is being extended
The goals for experimentation and reason for extending this trial are listed above.
Previous "Intent to Experiment" discussion: https://groups.google.com/a/chromium.org/d/msg/blink-dev/nrDKOvVl_I4/N9T_Mpu9AgAJ
Ongoing technical constraints
None.
Debuggability
DevTools support isn’t necessary for debugging code that uses this feature. Such support could be added later, for example, showing active locks held by a page.
Will this feature be supported on all five Blink platforms supported by Origin Trials (Windows, Mac, Linux, Chrome OS, and Android)?
Yes.
Link to entry on the feature dashboard
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEmk%3DMYr_gyxibbWNtJCaNe0yOKYm_MMLOcyNvRLuYRwHixPww%40mail.gmail.com.