[whatwg/xhr] How is the about:blank case in send-non-same-origin supported by the spec? (#194)

I'm not seeing any reason in spec-text for the `about:blank` test in the `/xhr/send-non-same-origin.htm` WPT to pass. As far as I can tell, the XHR spec does nothing special for about:blank, it just does its usual fetch. Fetch should therefore do a scheme fetch, where about:blank is special-cased to succeed as a 0-byte response with a single content-type header. However, according to wpt.fyi browsers mostly agree with the test-case, and throw a NetworkError instead (aside from Edge).

-- 
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/xhr/issues/194

Received on Wednesday, 28 February 2018 17:18:02 UTC