Intent to Prototype: HTTP response status code in Resource Timing

51 views
Skip to first unread message

Abin Paul

unread,
Jul 13, 2022, 12:29:17 PM7/13/22
to blin...@chromium.org

Contact emails

abin....@gmail.com


Explainer

https://github.com/abinpaul1/resource-timing/blob/explainer-resource-response-status/Explainers/Response_Status_Code.md


Specification

Resource Timing PR : https://github.com/w3c/resource-timing/pull/335

Fetch PR : https://github.com/whatwg/fetch/pull/1468



Summary

Adds a field to PerfomanceResourceTiming to indicate the HTTP response status when the resource was fetched.



Blink component

Blink>PerformanceAPIs>ResourceTiming


Motivation

Currently there is no straightforward way to tell if a resource failed loading for developers using the Resource Timing API. Indications exist for errored responses, but not for requests that got an error response.


Exposing the status would enable analysis by segregation of resources based on the returned status.  Analysis of 4xx and 5xx responses would be easier



Initial public proposal

https://github.com/w3c/resource-timing/pull/335


TAG review

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


TAG review status

Pending


Risks



Interoperability and Compatibility



Gecko: https://github.com/mozilla/standards-positions/issues/665


WebKit: https://github.com/WebKit/standards-positions/issues/35


Web developershttps://github.com/w3c/resource-timing/issues/90 is a good signal showing interest in the feature. 


Other signals:


WebView application risks

Does this intent deprecate or change behaviour of existing APIs, such that it has potentially high risk for Android WebView-based applications?



Debuggability



Is this feature fully tested by web-platform-tests?

Yes


Flag name

ResourceTimingResponseStatusCode


Requires code in //chrome?

False


Tracking bug

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


Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5163838794629120


This intent message was generated by Chrome Platform Status.

Reply all
Reply to author
Forward
0 new messages