mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibURL+LibWeb: Make URL::serialize return a String
Simplifying a bunch of uneeded error handling around the place.
This commit is contained in:
parent
d7ac0601ab
commit
0fa54c2327
Notes:
github-actions[bot]
2024-12-04 16:48:13 +00:00
Author: https://github.com/shannonbooth
Commit: 0fa54c2327
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2727
Reviewed-by: https://github.com/AtkinsSJ ✅
52 changed files with 88 additions and 103 deletions
|
@ -86,7 +86,7 @@ Fetch::Infrastructure::RequestOrResponseBlocking should_fetching_request_be_bloc
|
|||
}
|
||||
|
||||
// 2. Return blocked.
|
||||
dbgln("MixedContent: Blocked '{}' (request)", MUST(request.url().to_string()));
|
||||
dbgln("MixedContent: Blocked '{}' (request)", request.url().to_string());
|
||||
return Fetch::Infrastructure::RequestOrResponseBlocking::Blocked;
|
||||
}
|
||||
|
||||
|
@ -111,7 +111,7 @@ Web::Fetch::Infrastructure::RequestOrResponseBlocking should_response_to_request
|
|||
}
|
||||
|
||||
// 2. Return blocked.
|
||||
dbgln("MixedContent: Blocked '{}' (response to request)", MUST(request.url().to_string()));
|
||||
dbgln("MixedContent: Blocked '{}' (response to request)", request.url().to_string());
|
||||
return Fetch::Infrastructure::RequestOrResponseBlocking::Blocked;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue