diff --git a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js
index e4eed1948d797..ef277b94c984d 100644
--- a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js
+++ b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/resources/resolve-url.js
@@ -3211,106 +3211,6 @@ eventsource
;
/
/
-XMLDocument
-#
-load
-(
-)
-subsetTestByKey
-(
-'
-xmldocument
-'
-async_test
-function
-(
-)
-{
-var
-doc
-=
-document
-.
-implementation
-.
-createDocument
-(
-null
-"
-x
-"
-)
-;
-doc
-.
-load
-(
-input_url_svg
-)
-;
-doc
-.
-onload
-=
-this
-.
-step_func_done
-(
-function
-(
-)
-{
-assert_equals
-(
-doc
-.
-documentElement
-.
-textContent
-expected_current
-)
-;
-}
-)
-;
-}
-'
-XMLDocument
-#
-load
-(
-)
-'
-{
-help
-:
-'
-https
-:
-/
-/
-html
-.
-spec
-.
-whatwg
-.
-org
-/
-multipage
-/
-#
-dom
--
-xmldocument
--
-load
-'
-}
-)
-;
-/
-/
window
.
open
diff --git a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html
index 6852e22688788..1dbef6427800e 100644
--- a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html
+++ b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html
@@ -436,56 +436,6 @@
d
e
=
-x
-m
-l
-d
-o
-c
-u
-m
-e
-n
-t
-"
->
-<
-m
-e
-t
-a
-n
-a
-m
-e
-=
-"
-v
-a
-r
-i
-a
-n
-t
-"
-c
-o
-n
-t
-e
-n
-t
-=
-"
-?
-i
-n
-c
-l
-u
-d
-e
-=
w
i
n
diff --git a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html
index 8669fae9cd5b3..1416ab0eb87cf 100644
--- a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html
+++ b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html
@@ -439,56 +439,6 @@
d
e
=
-x
-m
-l
-d
-o
-c
-u
-m
-e
-n
-t
-"
->
-<
-m
-e
-t
-a
-n
-a
-m
-e
-=
-"
-v
-a
-r
-i
-a
-n
-t
-"
-c
-o
-n
-t
-e
-n
-t
-=
-"
-?
-i
-n
-c
-l
-u
-d
-e
-=
w
i
n
diff --git a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html
index 8cc67f4a0ad2c..aa4d624cc1322 100644
--- a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html
+++ b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/utf-8.html
@@ -152,22 +152,6 @@
?
include
=
-xmldocument
-"
->
-<
-meta
-name
-=
-"
-variant
-"
-content
-=
-"
-?
-include
-=
window
-
open
diff --git a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html
index b6327785e0999..52ce5df780d01 100644
--- a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html
+++ b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1251.html
@@ -152,22 +152,6 @@
?
include
=
-xmldocument
-"
->
-<
-meta
-name
-=
-"
-variant
-"
-content
-=
-"
-?
-include
-=
window
-
open
diff --git a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html
index 10efb2e0b87a5..16a770c04b483 100644
--- a/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html
+++ b/testing/web-platform/tests/html/infrastructure/urls/resolving-urls/query-encoding/windows-1252.html
@@ -152,22 +152,6 @@
?
include
=
-xmldocument
-"
->
-<
-meta
-name
-=
-"
-variant
-"
-content
-=
-"
-?
-include
-=
window
-
open