authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-01-11 22:50:42 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-01-11 22:50:42 -08:00
log3b6dc8daa25cb805bca40dc52faaf1ea7f5773f3
treedcb540901acb5ed8d3c6457504136703d0237b37
parentb8d391ef987ddf51d1f22cee234e75260d557a1a

└─ run test 402/543 passed, 114 failed, 27 skipped


1 files changed, 1 insertions(+), 0 deletions(-)

url.zig+1
...@@ -185,6 +185,7 @@ pub const URL = struct {...@@ -185,6 +185,7 @@ pub const URL = struct {
185 },185 },
186 .no_scheme => {186 .no_scheme => {
187 // 1. If base is null, or base has an opaque path and c is not U+0023 (#), missing-scheme-non-relative-URL validation error, return failure.187 // 1. If base is null, or base has an opaque path and c is not U+0023 (#), missing-scheme-non-relative-URL validation error, return failure.
188 if (base == null) return error.InvalidURL;
188 // 2. Otherwise, if base has an opaque path and c is U+0023 (#), set url’s scheme to base’s scheme, url’s path to base’s path, url’s query to base’s query, url’s fragment to the empty string, and set state to fragment state.189 // 2. Otherwise, if base has an opaque path and c is U+0023 (#), set url’s scheme to base’s scheme, url’s path to base’s path, url’s query to base’s query, url’s fragment to the empty string, and set state to fragment state.
189 // 3. Otherwise, if base’s scheme is not "file", set state to relative state and decrease pointer by 1.190 // 3. Otherwise, if base’s scheme is not "file", set state to relative state and decrease pointer by 1.
190 // 4. Otherwise, set state to file state and decrease pointer by 1.191 // 4. Otherwise, set state to file state and decrease pointer by 1.