Re: [fetch-tests] Adding an error test where the error happens after the fetch promise resolution (#3951)

Sorry for the delayed response.

The test fails on Chrome from two reasons:

1. Chrome applies mime sniffing. That means Chrome buffers first some bytes to determine/verify the mime type and then dispatch a responseReceived message. 10 bytes is small enough to be buffered.
2. Chrome errors a stream by DOMException(NetworkError) not by TypeError.

I resolved the former issue recently: https://codereview.chromium.org/2323623002/. After a few months the stable release will include the change. I don't know why we are using DOMException instead of TypeError. I will fix it shortly.

Thanks,



View on GitHub: https://github.com/w3c/web-platform-tests/pull/3951#issuecomment-254194416

Received on Monday, 17 October 2016 12:33:09 UTC