mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibWeb: Implement 'Is url potentially trustworthy?' AO
This commit is contained in:
parent
d56a6eb508
commit
6c1a9b28f1
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