Contact emails
Engineering ksak...@chromium.org
Spec igri...@chromium.org
Spec
[1] https://w3c.github.io/resource-timing/#extensions-performance-interface
Summary
This intent is about:
implementing and shipping the unprefixed Resource Timing APIs
expose only the unprefixed Resource Timing API to Workers.
emit a deprecation warning for the prefixed APIs
Only 2 methods and 1 attribute are prefixed.
Usage stats for the prefixed APIs:
PrefixedPerformanceOnResourceTimingBufferFull: coming soon (with caveats such as inability to detect things like addEventListener([...]))
Motivation
This is to resume a previous intent to ship that was postponed for concerns over exposing prefixed APIs to an extra surface.
Compatibility Risk
Low risk.
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug
http://crbug.com/465641 (crbug.com/515344)
Link to entry on the feature dashboard
existing Resource Timing API entry:
https://www.chromestatus.com/feature/5796350423728128
Requesting approval to ship?
Yes.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
I don't think we should ship this API, we should ship PerformanceObserver instead. It fixes many issues with this API and we don't want to have to support both forever.
I don't think we should ship this API, we should ship PerformanceObserver instead. It fixes many issues with this API and we don't want to have to support both forever.
Supporting two different ways to do the same thing is bad for the web (and means complexity in the browser), we shouldnt unprefix the buffer API, we should deprecate and remove it if we plan to ship PerformanceObserver.
The observer API is strictly better, it lets the browser avoid creating records if no one is listening, and also works in a multi actor world.
Unprefixing this API just means itll be much harder to remove later.