Contact emails
rei...@chromium.org, wande...@chromium.org
Spec
https://w3c.github.io/wake-lock/
Summary
This API allows a site to prevent the system from automatically locking or powering off the display. To make this request the page must be already be visible and the user can override the lock by switching to another tab or manually locking or powering off their display.
This is a subset of the full Wake Lock API.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/KMNZmMF1_H4/U6EGekDrBwAJ
TAG reviews
https://github.com/w3ctag/design-reviews/issues/32
https://github.com/w3ctag/design-reviews/issues/126
Goals for experimentation
We are looking for feedback from developers on the shape of the API and whether the “screen wake lock” subset of the full specification is sufficient for their use cases.
Experimental timeline
Chrome 78 to 80. We have at least one partner lined up with code that can be deployed to experiment with this feature.
Any risks when the experiment finishes?
Sites will lose the ability to keep the screen awake which may cause a regression in user experience.
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%3DMajxLBgGd8_-TtJ766Mq4rdfpsWGEdH4JgTGaWPoM%2B9dw%40mail.gmail.com.
Does the experiment also include user permissions/notifications regarding the fact that the site keeps their screen from sleeping as long as it's in the foreground?
On Wed, Sep 11, 2019 at 4:15 PM Yoav Weiss <yo...@yoav.ws> wrote:Does the experiment also include user permissions/notifications regarding the fact that the site keeps their screen from sleeping as long as it's in the foreground?This subset of the API has no permission because the restrictions that the page is already visible and that the user can override the lock seem to mitigate potential abuse. The API is its own usage indicator because it keeps the screen on.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEmk%3DMa2E7nciOV%2B%2BvSZg08Xjsd2ogst2Z11un0wYkFiUbSPEw%40mail.gmail.com.
Does this not go against precedent set by, for example, the Fullscreen API, which is arguably more apparent to the user, but will still notify the user that fullscreen mode was entered?
LGTM to experiment, even if I have more questions regarding the user-visible aspects of this.On Wed, Sep 11, 2019 at 10:17 AM Reilly Grant <rei...@chromium.org> wrote:On Wed, Sep 11, 2019 at 4:15 PM Yoav Weiss <yo...@yoav.ws> wrote:Does the experiment also include user permissions/notifications regarding the fact that the site keeps their screen from sleeping as long as it's in the foreground?This subset of the API has no permission because the restrictions that the page is already visible and that the user can override the lock seem to mitigate potential abuse. The API is its own usage indicator because it keeps the screen on.OK, so no permissions, but is there a user notification telling the user "this page is special and keeps your device awake as long as you're looking at it"?
Do we have any ways to gauge the user's reaction to the feature? e.g. are we planning to count "user override"? Bounce rates?
Contact emails
rei...@chromium.org, wande...@chromium.org
Spec
https://w3c.github.io/wake-lock/
Summary
This API allows a site to prevent the system from automatically locking or powering off the display. To make this request the page must be already be visible and the user can override the lock by switching to another tab or manually locking or powering off their display.
This is a subset of the full Wake Lock API.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/KMNZmMF1_H4/U6EGekDrBwAJ
TAG reviews
https://github.com/w3ctag/design-reviews/issues/32
https://github.com/w3ctag/design-reviews/issues/126
Goals for experimentation
We are looking for feedback from developers on the shape of the API and whether the “screen wake lock” subset of the full specification is sufficient for their use cases.