mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibURL: Remove unspecified steps in URL file slash parsing state
There were some extra steps in there which produced wrong results for relative file URLs. Fixes 7 test cases in: https://wpt.live/url/url-constructor.any.html We also need to adjust the test results in TestURL. The behaviour tested does not match how URL is specified to work as an absolute relative is given.
This commit is contained in:
committed by
Tim Ledbetter
parent
1d12cb69d4
commit
8723f72f0f
Notes:
github-actions[bot]
2024-08-06 06:59:00 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/8723f72f0f2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/985 Reviewed-by: https://github.com/tcl3 ✅
@@ -33,6 +33,7 @@
|
||||
{ input: 'http://user%20name:pa%40ss%3Aword@www.ladybird.org' },
|
||||
{ input: 'h\tt\nt\rp://h\to\ns\rt:9\t0\n0\r0/p\ta\nt\rh?q\tu\ne\rry#f\tr\na\rg' },
|
||||
{ input: ' \t', base: 'http://ladybird.org/foo/bar' },
|
||||
{ input: '/c:/foo/bar', base: 'file:///c:/baz/qux' },
|
||||
];
|
||||
|
||||
for (url of urls) {
|
||||
|
||||
Reference in New Issue
Block a user