Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add response status codes for resources in Resource Timing API. #90

Closed
vaibhavtripathi opened this issue Jan 5, 2017 · 5 comments
Closed

Comments

@vaibhavtripathi
Copy link

I believe resource timing API is missing an essential property. It does not tell if a resource failed loading, which is of utmost important to developers using the Resource Timing API. It would be useful if there is a field called "responseCode" or something, which would indicate whether the resource failed successfully or not.

@yoavweiss
Copy link
Contributor

I agree this can provide interesting info, and in a way complete #12, which added errored responses, but don't include any indication for that for requests that got an error response.

@mehulkar
Copy link

Are there any updates on this issue or have there been more discussions here? How would we get some movement?

@abinpaul1
Copy link
Contributor

A proposal to add this field is now present at #335. Would love to get feedback on the same !!
Also, the new field is currently termed as responseStatusCode, we are considering changing it to statusCode as well. Looking to get you all's thoughts on this as well

@Paktas
Copy link

Paktas commented Nov 17, 2022

5 years for the ticket. Wow! We need to monitor for 4xxand 5xx codes via JS. If certain resources fail - we want work with that information (ex. alert). Having statusCode is very important.

@yoavweiss
Copy link
Contributor

@abinpaul1 - we can close this as "fixed", right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment