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

One simplified option would be that the caller is responsible to report the RT entry in case of a network/CORS error.
The caller (e.g. a `script` tag) knows when the call to FETCH was made and when it has received an error, so it could report those timing as the start/end time to resource timing, without exposing anything about the connection info.

Not sure if we want to expose connection info and other things when there was a network error, probably not.

-- 
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-820222470

Received on Thursday, 15 April 2021 08:18:15 UTC