Explainer
https://github.com/dtapuska/useractivation
Spec
https://github.com/whatwg/html/pull/4009
https://whatpr.org/html/4009/index.html
Tag review has been open for a few weeks with little activity.
Summary
Expose the ability to query the user activation state via a javascript API. This is useful for pages that embed iframes to vet postMessages coming from them to determine if they occurred within the context of a user activiation.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/peRlfsYaDIw/bw2CJHrvAgAJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
Risks
Interoperability and Compatibility
Edge: No signals
Firefox: No signals
Safari: No signals
Web developers: No signals
Ergonomics
There have been work arounds as explained in the explainer how to get this information about the browser through performing actions and checking whether they were sucessful or not. So ergonomics is improved.
Activation
Users can check for the existence of userActivation on the navigator object.
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
Yes, check out:
https://github.com/web-platform-tests/wpt/tree/master/html/user-activation
Entry on the feature dashboard
https://www.chromestatus.com/feature/5131233151418368--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHgVhZXi0DkZa_ZZiWsFEeoXB7tCU4rN20JufeAwu2jp_6WQog%40mail.gmail.com.
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/CAARdPYdRxS3g0P76oEXNkWy6Vvp0zu_URwAsP%3Dm_JCmuiK734A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHgVhZUpEZAeysY%3Dz3QRCRDSbuKx3YePArNUmYZ0ndxHPLVt9Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHgVhZWtaZKxUZ9-625na-%2B0q%3DYPZQuhfy8ytJY-WRoDHLqEBQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEgN3SPxW3Wkz2MfioWRwBBCRFDa6vW_%2BHGemMGJDP7KJw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY9pcRJ4rrMN-%2BWOVjMDjPU3T1V-kYTEsdWt%3DDo%3DAmvpug%40mail.gmail.com.
--
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/ebfa17ab-f437-45fd-87d6-94f5327e42be%40chromium.org.