Contact emails

n...@chromium.org, hbs...@chromium.org

Explainer

https://gist.github.com/npm1/9c2b95ece116d9bcb4bc224155e23777

Specification

https://wicg.github.io/event-timing/#dom-performanceeventtiming-interactionid

Summary

Developers currently use the Event Timing API to gather performance data 
about events they care about. However, it is currently hard to link events 
that correspond to the same user interaction. For instance, when a user 
taps, many events are generated, such as pointerdown, mousedown, pointerup, 
mouseup, and click. The interactionID enables developers to link multiple 
PerformanceEventTiming entries when they correspond to the same user 
interaction.

Blink component

Blink>PerformanceAPIs 
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EPerformanceAPIs>

TAG review

https://github.com/w3ctag/design-reviews/issues/670

TAG review status

Open

Risks
Interoperability and Compatibility

The main interop risk is that this feature does not become implemented in 
other browsers. This is an attribute in a performance feature so even if 
this is not implemented there websites using this feature should not break 
in any way.

Gecko: No signal (https://github.com/mozilla/standards-positions/issues/283) 
Updated the Event Timing issue to note this addition.

WebKit: Negative (
https://lists.webkit.org/pipermail/webkit-dev/2020-October/031553.html) 
This is a negative on Event Timing as a whole, so we consider this to be 
negative for this feature in particular.

Web developers: No signals. We presented this to WebPerf WG 
https://w3c.github.io/web-performance/meetings/2021/2021-05-27/index.html 

Ergonomics

N/A


Activation

Seems tricky to impossible to polyfill, so developers would need to use the 
API in order to obtain the more accurate data. 


Security

One consideration was whether it is ok to expose the number of interactions 
that have occurred in the page. This is already observable via event 
handlers. Cross-origin events are not exposed.


Debuggability

Use PerformanceObserver in the console. We don't have concrete plans to add 
Event Timing support in DevTools yet, but maybe in the future. Lab tools in 
general do not currently have great support for user inputs.

Is this feature fully tested by web-platform-tests 
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
?

https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/event-timing/click-interactionid.html
 

Flag name

InteractionId

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1236758

Launch bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1245771

Estimated milestones

96

Link to entry on the Chrome Platform Status

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

This intent message was generated by Chrome Platform Status 
<https://www.chromestatus.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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/ec282b39-cd45-46f1-a542-cbdc7354347an%40chromium.org.

Reply via email to