/* * Copyright (c) 2022, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace Web::SecureContexts { enum class Trustworthiness { PotentiallyTrustworthy, NotTrustworthy, }; [[nodiscard]] Trustworthiness is_origin_potentially_trustworthy(HTML::Origin const&); [[nodiscard]] Trustworthiness is_url_potentially_trustworthy(URL::URL const&); }