whatwg / xhr

XMLHttpRequest Standard
https://xhr.spec.whatwg.org/
Other
314 stars 129 forks source link

Use HTML's parse a URL #380

Closed annevk closed 11 months ago

annevk commented 12 months ago

As https://wpt.fyi/results/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html%3Finclude%3Dxhr and surrounding tests indicate all implementations are aligned on not always using UTF-8 as the URL encoding. Given this is an old API it's probably better to standardize on that and change the test expectations.

annevk commented 11 months ago

It seems we already standardized on that https://xhr.spec.whatwg.org/#dom-xmlhttprequest-open and it's just the test expectations that are wrong. Hmm. Oh well, I guess all the refactoring of HTML was good anyway.

annevk commented 11 months ago

https://github.com/web-platform-tests/wpt/pull/42049