[whatwg/xhr] Use the API URL character encoding for XMLHttpRequest (#172)

Unfortunately forcing UTF-8 is not web compatible.

This also cleans up some other steps in the open() method in the process.

Tests: https://hg.mozilla.org/releases/mozilla-beta/rev/fd6134823ff9.

Fixes #159.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/xhr/pull/172

-- Commit Summary --

  * Use the API URL character encoding for XMLHttpRequest

-- File Changes --

    M xhr.bs (53)

-- Patch Links --

https://github.com/whatwg/xhr/pull/172.patch
https://github.com/whatwg/xhr/pull/172.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/pull/172

Received on Monday, 4 December 2017 13:19:18 UTC