mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibURL: Remove ErrorOr from get_public_suffix
The caller only expects ASCII and let's ignore any OOM.
This commit is contained in:
parent
c3618b891f
commit
e6ecafea84
Notes:
github-actions[bot]
2025-06-29 11:49:18 +00:00
Author: https://github.com/shannonbooth
Commit: e6ecafea84
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5242
Reviewed-by: https://github.com/tcl3 ✅
2 changed files with 17 additions and 17 deletions
|
@ -498,7 +498,7 @@ bool is_public_suffix(StringView host)
|
|||
|
||||
Optional<String> get_public_suffix(StringView host)
|
||||
{
|
||||
return MUST(PublicSuffixData::the()->get_public_suffix(host));
|
||||
return PublicSuffixData::the()->get_public_suffix(host);
|
||||
}
|
||||
|
||||
// https://github.com/publicsuffix/list/wiki/Format#algorithm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue