w3c/web-platform-tests — pull request #352 by jungkees (2013-09-26 06:27:30+00:00)
Title: XMLHttpRequest test fixes

- abort-event-loadend.htm: changed to call abort() in onloadstart rather than in onreadystatechange; otherwise the test ends up with throwing InvalidStateError in send().
- getresponseheader-error-state.htm: corrected the URL composition part; without "//", location.protocol ("http:") tends to be interpreted as + + by user agent, which leads the result to 404 error instead of CORS failure.