Re: [fetch-tests] Fixing response clone test and ironing utils.js for different UInt8Array behavior (#3274)

I believe all browsers accept "new Uint8Array()".
Some browsers seem to accept "new Uint8Array(undefined)" while others do not.
>From a quick reading of the spec, the second behavior seems compliant.
Given that, since for empty streams, undefined may be passed to Uint8Array, I added a check in this method. I am fine changing the caller function though.


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

Received on Thursday, 7 July 2016 16:35:12 UTC