From 5f2fd1301f694c0cd706e4c37c6d73e48caa1fbe Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 19 Sep 2023 14:40:54 +0200 Subject: [PATCH] HTML: align XHR URL encoding expectations with the specification https://xhr.spec.whatwg.org/#dom-xmlhttprequest-open never said UTF-8 it seems like. --- .../urls/resolving-urls/query-encoding/resources/resolve-url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js b/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js index c126da48b85ee1..1c4a77705e57fc 100644 --- a/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js +++ b/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js @@ -499,7 +499,7 @@ onload = function() { var xhr = new XMLHttpRequest(); xhr.open('GET', input_url_html); xhr.onload = this.step_func_done(function() { - assert_equals(xhr.response, expected_utf8); + assert_equals(xhr.response, expected_current); }); xhr.send(); }, 'XMLHttpRequest#open()');