Re: [XMLHttpRequest] New XHR test fixes, solving issues found in Firefox test run (#343)

Hm.. I was working on testing that, but actually that's NOT what the spec says. It says "let *encoding* be the encoding of data" and later on explicitly says to encode data for sending "using encoding *encoding*". I think this may be what Gecko does (it sends everything as application/xml but with a charset corresponding to the input document's charset). Opera:Presto happily serializes and sends everything as UTF-8. Chrome and Opera:Blink do not support this at all and sends no content.

Should I assert that Firefox does the right thing (if it sends the right bytes on the wire, relative to the declared encoding)? Or Opera?

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

Received on Monday, 23 September 2013 20:28:51 UTC