[XMLHttpRequest-tests] chunked should send chunk-size as hexdigits (#1736)

This test has been sending chunk-size as decimal, which is incorrect. So, when writing the first chunk size, it's reported as being `13`. The spec says this is read as a HEX, so all parsers read out `0x13`, which is 19. Parsers then read 19 characters and don't find a CRLF after, and so the encoding is tossed. Instead, the first chunk should claim it's chunk-size as `d`.

In effect, this test would not pass on latest Firefox or Chrome. With this change, it does.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/1736

Received on Tuesday, 7 April 2015 21:13:11 UTC