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

Yeah, if we report network errors we want to act as if they are cross-origin and lack TAO. We could store the relevant information on the network error for the caller (it's a type of response after all, albeit rather special). That's my option 1.

Option 2 would be reporting all responses that are not network errors.

Option 3 would be reporting all responses that the caller considers actionable (i.e., would exclude non-2xx in case of `<script>`).

They are not in a preference order. I don't really know what would help web developers the most.

Whichever option we decide to go with should not provide a new information channel.

cc @yoavweiss @npm1 @rniwa @bdekoz @sefeng211

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

Received on Thursday, 15 April 2021 10:27:05 UTC