Intent to Extend Origin Trial: isInputPending

74 views
Skip to first unread message

Shubhie Panicker

unread,
Jul 26, 2019, 7:23:58 PM7/26/19
to blink-dev, Andrew Comminos, Nathan Schloss

Contact emails

acom...@fb.com, n...@fb.com, pani...@google.com


Explainer

https://github.com/WICG/is-input-pending/


Spec draft

https://wicg.github.io/is-input-pending/


Summary

A method to query whether or not input events of a given type are likely to be dispatched to a document. Intended for use in JS schedulers to improve the responsiveness of pages by yielding when input is pending prior to processing lower priority tasks.


We would like to extend the experiment for two releases: M77, M78. This will allow us to get data from two more partners, we have been engaged with Google Ads, SOASTA analytics, and it took some time. So far we only have data from one partner: Facebook (their results are positive), and want at least one more data source to gain confidence.


Link to Intent to Experiment

https://groups.google.com/a/chromium.org/d/msg/blink-dev/ItkbDBevOrs/yFffQlqTBQAJ


Link to “Intent to Implement” blink-dev discussion

https://groups.google.com/a/chromium.org/d/msg/blink-dev/eLq8t56CbaQ/KdbOY7ZHCwAJ


Goals for experimentation

We’d like to measure the reduction in event dispatch latency in scheduler-driven pages as a result of yielding more intelligently using this API.

We’d also like to know what sort of input events developers are interested in querying for specifically, to determine the level of granularity that should be exposed by this API.


Experimental timeline

M77 - M78.


Any risks when the experiment finishes?

The correctness of intended consumers of the feature (JS schedulers) should be unaffected by the removal of the API. 


Ongoing technical constraints

None.


Will this feature be supported on all five Blink platforms supported by Origin Trials (Windows, Mac, Linux, Chrome OS, and Android)?

No, only Windows, Mac, Linux, and Chrome OS. The current implementation requires site-per-process to perform attribution of pending input events, which is not shipped by default on Android. This will be addressed before any intent to ship.


Link to entry on the feature dashboard

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


Yoav Weiss

unread,
Jul 27, 2019, 2:35:18 AM7/27/19
to Shubhie Panicker, blink-dev, Andrew Comminos, Nathan Schloss
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/CAK7ODi9krrdZZ5kYd4LkiueMz_F7Vd46MOQD6NWsgoLJ%2BbzyxQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages