mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibURL: Rename 'cannot have a base URL' to 'has an opaque path'
This follows a rename made in the URL specification.
This commit is contained in:
parent
6b85748f53
commit
3f73cd30a2
Notes:
github-actions[bot]
2025-04-06 12:28:23 +00:00
Author: https://github.com/shannonbooth
Commit: 3f73cd30a2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3847
Reviewed-by: https://github.com/trflynn89
8 changed files with 40 additions and 38 deletions
|
@ -303,7 +303,7 @@ TEST_CASE(complete_url)
|
|||
EXPECT_EQ(url->serialized_host(), "serenityos.org");
|
||||
EXPECT_EQ(url->serialize_path(), "/test.html");
|
||||
EXPECT(!url->query().has_value());
|
||||
EXPECT_EQ(url->cannot_be_a_base_url(), false);
|
||||
EXPECT_EQ(url->has_an_opaque_path(), false);
|
||||
|
||||
EXPECT(base_url->complete_url("../index.html#fragment"sv)->equals(*base_url));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue