[webkit-dev] New Feature - Resource Timing

James Simonsen simonjam at chromium.org
Thu May 19 18:14:53 PDT 2011


Hello webkit-dev,

The W3C Performance WG has been working on a Resource Timing spec. The spec
is starting to stabilize and we'd like to start landing it in WebKit too.

Resource Timing is a follow up to Navigation Timing, which is already in
WebKit. Resource Timing allows site developers to collect detailed network
timing information for the subresources they load. The data is exposed
through the window.performance namespace and we expect developers to ping
this information back to the server with their other analytics data. For
security reasons, the spec limits the detailed information to same-origin
resources, but there is also a provision for a CORS-like header to allow
cross-origin resource timing.

Resource Timing will be behind ENABLE(WEB_TIMING) since it relies on some of
the same infrastructure as Navigation Timing. We can add an additional
ENABLE to keep Resource Timing separate from Navigation Timing if that's
desired.

The current draft of the Resource Timing API is here:
http://w3c-test.org/webperf/specs/ResourceTiming/

A meta-bug to track the necessary work is here:
https://bugs.webkit.org/show_bug.cgi?id=61138

Please post any feedback. Thanks!

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110519/ccb19454/attachment.html>


More information about the webkit-dev mailing list