Re: [whatwg/fetch] Should errors be considered same-origin or cross-origin? (#848)

This would really be a question for Fetch, but it's somewhat part of the way we "designed" errors that you cannot tell much about them. E.g., if the TLS handshake fails when establishing a second same-origin connection, is that a same-origin error?

I suspect that for new APIs we wouldn't use DOMException "SecurityError" though, we'd use TypeError or perhaps DOMException "NetworkError".

Hope that helps.

-- 
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/848#issuecomment-446249290

Received on Tuesday, 11 December 2018 15:45:14 UTC