Intent to Experiment: Idle Detection API

200 views
Skip to first unread message

Reilly Grant

unread,
Apr 29, 2020, 8:28:07 PM4/29/20
to blink-dev

Contact emails

rei...@chromium.org, ay...@chromium.org


Explainer

https://github.com/samuelgoto/idle-detection/blob/master/README.md (specification TBD)


Summary

The Idle Detection API allows developers to add an event listener for when the user becomes idle (e.g. they don’t interact with the keyboard, mouse or touchscreen, when a screensaver activates or when the screen is locked). Unlike solutions based on monitoring input events this capability extends beyond the site's content area (e.g. when users move to a different window or tab).


Link to “Intent to Prototype” blink-dev discussion

https://groups.google.com/a/chromium.org/d/msg/blink-dev/OuwzBmH02M4/5ChXdXZQBwAJ


Goals for experimentation

The goal of this experiment is to validate that the API provides an improved user experience. Interested developers have been able to build prototypes while this feature has been available behind a flag. We are now ready to move forward with experiments involving real users.


Experimental timeline

The experiment will follow the usual schedule for a 3 milestone experiment, beginning with the stable release of Chrome 84 ending a week before the stable release of Chrome 87. 


Any risks when the experiment finishes?

The only risk to sites participating in this experiment when it finishes is that they will (assuming the experiment is successful) see a degraded user experience as the site can no longer detect when a user is still active outside of the content area.


Ongoing technical constraints

None.


Debuggability

This JavaScript API requires no special debugging support.


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

https://www.chromestatus.com/feature/4590256452009984

Chris Harrelson

unread,
Apr 30, 2020, 3:24:09 PM4/30/20
to Reilly Grant, blink-dev
LGTM

--
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%3DMYT_%2BT%2BWaz74Ayoyzj%3DsyddsZ9DwsDy6BRpJ2dG9gSb5A%40mail.gmail.com.

sligh...@chromium.org

unread,
Apr 30, 2020, 3:25:05 PM4/30/20
to blink-dev
LGTM
Reply all
Reply to author
Forward
0 new messages