Re: [whatwg/fetch] Clarify which network errors create a resource timing entry (#1215)

While there is overlap with the Reporting API (Network Error Logging), I think there's value in keeping network-level errors, since the ergonomics and delivery are different (e.g. out-of-band reports).  If we're reporting network-level errors via Reporting API, is there concern about surfacing them through ResourceTiming as well (which is what most browsers are doing today)?

This is a lot of what the issue https://github.com/w3c/resource-timing/issues/12 was about, getting consistency on network-level and non-200 errors among the browsers.

I just did a quick refresh to see where browsers are today, and except for Safari, network-level errors are reported everywhere else:

https://github.com/w3c/resource-timing/issues/12#issuecomment-840316432

What we have today is aligned closer with @annevk 's Option 1, "... to act as if they are cross-origin and lack TAO".  The entries exist (except in Safari), but have all breakdown timestamps zero'd.  Just fetchStart/responseEnd/duration are set.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1215#issuecomment-840319673

Received on Thursday, 13 May 2021 05:47:34 UTC