The plan is to make Fetch and XMLHttpRequest as close as possible as they can be and not to have weird small divergences.
Standard change: https://github.com/whatwg/fetch/pull/504.
Tests: https://github.com/w3c/web-platform-tests/pull/5115. (There's many other tests around this too that have already landed. I suspect that any code changes would end up affecting more results than just these.)
... though admittedly what's failing in XHR is XMLHttpRequest/getallresponseheaders-cl.htm's first test due to the lowercasing changes mentioned in issue 687155 .
As for this issue, the XHR code already uses ", " in responses, and changing the request code is a one-liner.
While both issues are independent, it's easier to fix one after the other since both end up touching the same code, so I'm marking this one as dependent on issue 687155 .
I think it's fine to ship this given
- returning a combined data for getAllResponseHeaders() was introduced for M57 ( bug 645497 ). It's been there for 3 milestones.
- this is subtle change
Comment 1 by raphael....@intel.com
, Mar 30 2017Labels: -OS-Mac OS-All
Owner: raphael....@intel.com
Status: Started (was: Available)