blob: 2c42d451ee6c9d222fd56363575c494fce5368d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Forward.h>
#include <LibWeb/Forward.h>
namespace Web::SecureContexts {
enum class Trustworthiness {
PotentiallyTrustworthy,
NotTrustworthy,
};
[[nodiscard]] Trustworthiness is_origin_potentially_trustworthy(HTML::Origin const&);
[[nodiscard]] Trustworthiness is_url_potentially_trustworthy(AK::URL const&);
}
|