Closed annevk closed 11 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.
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.
https://github.com/web-platform-tests/wpt/pull/42049
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.