- From: youennf <web-platform-tests-notifications@w3.org>
- Date: Thu, 07 Jul 2016 16:34:56 GMT
- To: public-web-platform-tests-notifications@w3.org
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