mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Implement 'Is url potentially trustworthy?' AO
This commit is contained in:
parent
d56a6eb508
commit
6c1a9b28f1
Notes:
sideshowbarker
2024-07-17 05:00:59 +09:00
Author: https://github.com/linusg
Commit: 6c1a9b28f1
Pull-request: https://github.com/SerenityOS/serenity/pull/15795
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/davidot ✅
2 changed files with 18 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Forward.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
namespace Web::SecureContexts {
|
||||
|
@ -16,5 +17,6 @@ enum class Trustworthiness {
|
|||
};
|
||||
|
||||
[[nodiscard]] Trustworthiness is_origin_potentially_trustworthy(HTML::Origin const&);
|
||||
[[nodiscard]] Trustworthiness is_url_potentially_trustworthy(AK::URL const&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue