diff --git a/Cargo.lock b/Cargo.lock
index 3591f36d6ef..c9b022a2000 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7784,9 +7784,9 @@ dependencies = [
[[package]]
name = "url"
-version = "2.5.1"
+version = "2.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f7c25da092f0a868cdf09e8674cd3b7ef3a7d92a24253e663a2fb85e2496de56"
+checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada"
dependencies = [
"form_urlencoded",
"idna",
diff --git a/tests/wpt/meta/url/url-setters-a-area.window.js.ini b/tests/wpt/meta/url/url-setters-a-area.window.js.ini
index 958fd9c1098..4c4a6aa9e27 100644
--- a/tests/wpt/meta/url/url-setters-a-area.window.js.ini
+++ b/tests/wpt/meta/url/url-setters-a-area.window.js.ini
@@ -596,21 +596,12 @@
[: Setting .pathname = '/#é' # doesn't mess up encoding]
expected: FAIL
- [: Setting .pathname = '/.//p' Serialize /. in path]
- expected: FAIL
-
[: Setting .pathname = '/.//p' Serialize /. in path]
expected: FAIL
- [: Setting .pathname = '/..//p']
- expected: FAIL
-
[: Setting .pathname = '/..//p']
expected: FAIL
- [: Setting .pathname = '//p']
- expected: FAIL
-
[: Setting .pathname = '//p']
expected: FAIL
@@ -770,9 +761,6 @@
[: Setting .hostname = 'xn--']
expected: FAIL
- [: Setting .port = 'randomstring' Setting port to a string that doesn't parse as a number]
- expected: FAIL
-
[: Setting .port = 'randomstring' Setting port to a string that doesn't parse as a number]
expected: FAIL
@@ -806,15 +794,9 @@
[: Setting .host = 'example.com?stuff:8080' Stuff after a ? delimiter is ignored, trailing 'port']
expected: FAIL
- [: Setting .host = 'example.com:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error]
- expected: FAIL
-
[: Setting .host = 'example.com:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
- [: Setting .host = '[::1\]:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error]
- expected: FAIL
-
[: Setting .host = '[::1\]:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error]
expected: FAIL
diff --git a/tests/wpt/meta/url/url-setters-stripping.any.js.ini b/tests/wpt/meta/url/url-setters-stripping.any.js.ini
deleted file mode 100644
index e1f6f4a8b76..00000000000
--- a/tests/wpt/meta/url/url-setters-stripping.any.js.ini
+++ /dev/null
@@ -1,26 +0,0 @@
-[url-setters-stripping.any.html]
- [Setting port with leading U+0000 (wpt++:)]
- expected: FAIL
-
- [Setting port with leading U+0000 (https:)]
- expected: FAIL
-
- [Setting port with leading U+001F (https:)]
- expected: FAIL
-
- [Setting port with leading U+001F (wpt++:)]
- expected: FAIL
-
-
-[url-setters-stripping.any.worker.html]
- [Setting port with leading U+0000 (wpt++:)]
- expected: FAIL
-
- [Setting port with leading U+0000 (https:)]
- expected: FAIL
-
- [Setting port with leading U+001F (https:)]
- expected: FAIL
-
- [Setting port with leading U+001F (wpt++:)]
- expected: FAIL
diff --git a/tests/wpt/meta/url/url-setters.any.js.ini b/tests/wpt/meta/url/url-setters.any.js.ini
index bb9bce89950..b41ceffb936 100644
--- a/tests/wpt/meta/url/url-setters.any.js.ini
+++ b/tests/wpt/meta/url/url-setters.any.js.ini
@@ -14,33 +14,12 @@
[URL: Setting .pathname = '' Non-special URLs with an empty host can have their paths erased]
expected: FAIL
- [URL: Setting .pathname = '/.//p' Serialize /. in path]
- expected: FAIL
-
- [URL: Setting .pathname = '/..//p']
- expected: FAIL
-
- [URL: Setting .pathname = '//p']
- expected: FAIL
-
- [URL: Setting .port = 'randomstring' Setting port to a string that doesn't parse as a number]
- expected: FAIL
-
[URL: Setting .hostname = 'h' Drop /. from path]
expected: FAIL
[URL: Setting .hostname = '']
expected: FAIL
- [URL: Setting .pathname = 'p' Drop /. from path]
- expected: FAIL
-
- [URL: Setting .host = 'example.com:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error]
- expected: FAIL
-
- [URL: Setting .host = '[::1\]:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error]
- expected: FAIL
-
[url-setters.any.worker.html?include=javascript]
@@ -78,33 +57,12 @@
[URL: Setting .pathname = '//monkey/..//' File URLs and (back)slashes]
expected: FAIL
- [URL: Setting .pathname = '/.//p' Serialize /. in path]
- expected: FAIL
-
- [URL: Setting .pathname = '/..//p']
- expected: FAIL
-
- [URL: Setting .pathname = '//p']
- expected: FAIL
-
- [URL: Setting .port = 'randomstring' Setting port to a string that doesn't parse as a number]
- expected: FAIL
-
[URL: Setting .hostname = 'h' Drop /. from path]
expected: FAIL
[URL: Setting .hostname = '']
expected: FAIL
- [URL: Setting .pathname = 'p' Drop /. from path]
- expected: FAIL
-
- [URL: Setting .host = 'example.com:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error]
- expected: FAIL
-
- [URL: Setting .host = '[::1\]:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error]
- expected: FAIL
-
[url-setters.any.worker.html?include=mailto]