1
Fork 0
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:
Linus Groh 2022-10-13 19:09:14 +02:00
parent d56a6eb508
commit 6c1a9b28f1
2 changed files with 18 additions and 0 deletions

View file

@ -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&);
}