diff --git a/Cargo.lock b/Cargo.lock index fba5040678..88b0a37712 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -895,7 +895,7 @@ dependencies = [ "swc_ecma_utils", "swc_ecma_visit", "text_lines 0.4.1", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -944,7 +944,7 @@ dependencies = [ "serde_v8", "sourcemap", "tokio", - "url 2.2.2", + "url 2.3.0", "v8", ] @@ -1079,7 +1079,7 @@ dependencies = [ "serde_json", "sourcemap", "termcolor", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -1644,7 +1644,7 @@ dependencies = [ "sha2", "thiserror", "tokio", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -2265,7 +2265,7 @@ dependencies = [ "log 0.4.17", "serde", "serde_json", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -2645,7 +2645,7 @@ dependencies = [ "serde", "serde_json", "serde_repr", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -3513,7 +3513,7 @@ dependencies = [ "tokio-socks", "tokio-util", "tower-service", - "url 2.2.2", + "url 2.3.0", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -4035,7 +4035,7 @@ dependencies = [ "rustc_version 0.2.3", "serde", "serde_json", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -4197,7 +4197,7 @@ dependencies = [ "swc_visit", "tracing", "unicode-width", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -4984,7 +4984,7 @@ dependencies = [ "thiserror", "tinyvec", "tokio", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -5068,7 +5068,7 @@ dependencies = [ "rustls", "sha-1 0.9.8", "thiserror", - "url 2.2.2", + "url 2.3.0", "utf-8", "webpki", ] @@ -5235,13 +5235,12 @@ dependencies = [ [[package]] name = "url" -version = "2.2.2" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" +checksum = "22fe195a4f217c25b25cb5058ced57059824a678474874038dc88d211bf508d3" dependencies = [ "form_urlencoded", "idna 0.2.3", - "matches", "percent-encoding 2.1.0", "serde", ] @@ -5256,7 +5255,7 @@ dependencies = [ "regex", "serde", "unic-ucd-ident", - "url 2.2.2", + "url 2.3.0", ] [[package]] @@ -5721,7 +5720,7 @@ dependencies = [ "serde_json", "time 0.3.9", "tokio", - "url 2.2.2", + "url 2.3.0", ] [[package]] diff --git a/core/Cargo.toml b/core/Cargo.toml index df9d882d21..f40e4eed37 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -32,7 +32,7 @@ serde = { version = "1.0.136", features = ["derive"] } serde_json = { version = "1.0.79", features = ["preserve_order"] } serde_v8 = { version = "0.60.0", path = "../serde_v8" } sourcemap = "=6.0.1" -url = { version = "2.2.2", features = ["serde"] } +url = { version = "2.3.0", features = ["serde"] } v8 = { version = "0.49.0", default-features = false } [[example]] diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 39fe595151..7da0edb91b 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -1799,73 +1799,6 @@ "xn-- (using .hostname)" ], "url-constructor.any.html": [ - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", "Parsing: against ", "Parsing: against ", "Parsing: against ", @@ -1913,103 +1846,9 @@ "Parsing: <..//path> against ", "Parsing: against ", "Parsing: <> against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against " + "Parsing: against " ], "url-constructor.any.worker.html": [ - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", "Parsing: against ", "Parsing: against ", "Parsing: against ", @@ -2057,34 +1896,7 @@ "Parsing: <..//path> against ", "Parsing: against ", "Parsing: <> against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against ", - "Parsing: against " + "Parsing: against " ], "url-origin.any.html": true, "url-origin.any.worker.html": true, @@ -2097,12 +1909,6 @@ "Setting pathname with trailing U+0000 (https:)", "Setting protocol with leading U+001F (https:)", "Setting protocol with U+001F before inserted colon (https:)", - "Setting host with leading U+001F (https:)", - "Setting hostname with leading U+001F (https:)", - "Setting host with middle U+001F (https:)", - "Setting hostname with middle U+001F (https:)", - "Setting host with trailing U+001F (https:)", - "Setting hostname with trailing U+001F (https:)", "Setting port with leading U+001F (https:)", "Setting pathname with trailing U+001F (https:)", "Setting protocol with leading U+0000 (wpt++:)", @@ -2121,12 +1927,6 @@ "Setting pathname with trailing U+0000 (https:)", "Setting protocol with leading U+001F (https:)", "Setting protocol with U+001F before inserted colon (https:)", - "Setting host with leading U+001F (https:)", - "Setting hostname with leading U+001F (https:)", - "Setting host with middle U+001F (https:)", - "Setting hostname with middle U+001F (https:)", - "Setting host with trailing U+001F (https:)", - "Setting hostname with trailing U+001F (https:)", "Setting port with leading U+001F (https:)", "Setting pathname with trailing U+001F (https:)", "Setting protocol with leading U+0000 (wpt++:)", @@ -4516,7 +4316,6 @@ "Pattern: [\"https://(sub(?:.))?example.com/foo\"] Inputs: [\"https://example.com/foo\"]", "Pattern: [\"data\\\\:text/javascript,let x = 100/:tens?5;\"] Inputs: [\"data:text/javascript,let x = 100/5;\"]", "Pattern: [{\"hostname\":\"bad\\\\:hostname\"}] Inputs: undefined", - "Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined", "Pattern: [] Inputs: [\"https://example.com/\"]", "Pattern: [] Inputs: [{}]", "Pattern: [] Inputs: []", @@ -4534,7 +4333,6 @@ "Pattern: [\"https://(sub(?:.))?example.com/foo\"] Inputs: [\"https://example.com/foo\"]", "Pattern: [\"data\\\\:text/javascript,let x = 100/:tens?5;\"] Inputs: [\"data:text/javascript,let x = 100/5;\"]", "Pattern: [{\"hostname\":\"bad\\\\:hostname\"}] Inputs: undefined", - "Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined", "Pattern: [] Inputs: [\"https://example.com/\"]", "Pattern: [] Inputs: [{}]", "Pattern: [] Inputs: []", @@ -4552,7 +4350,6 @@ "Pattern: [\"https://(sub(?:.))?example.com/foo\"] Inputs: [\"https://example.com/foo\"]", "Pattern: [\"data\\\\:text/javascript,let x = 100/:tens?5;\"] Inputs: [\"data:text/javascript,let x = 100/5;\"]", "Pattern: [{\"hostname\":\"bad\\\\:hostname\"}] Inputs: undefined", - "Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined", "Pattern: [] Inputs: [\"https://example.com/\"]", "Pattern: [] Inputs: [{}]", "Pattern: [] Inputs: []", @@ -4570,7 +4367,6 @@ "Pattern: [\"https://(sub(?:.))?example.com/foo\"] Inputs: [\"https://example.com/foo\"]", "Pattern: [\"data\\\\:text/javascript,let x = 100/:tens?5;\"] Inputs: [\"data:text/javascript,let x = 100/5;\"]", "Pattern: [{\"hostname\":\"bad\\\\:hostname\"}] Inputs: undefined", - "Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined", "Pattern: [] Inputs: [\"https://example.com/\"]", "Pattern: [] Inputs: [{}]", "Pattern: [] Inputs: []", @@ -4610,4 +4406,4 @@ "idlharness.https.any.worker.html": true, "idlharness-shadowrealm.window.html": false } -} +} \ No newline at end of file