You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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
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.
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.
The text was updated successfully, but these errors were encountered: