1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

LibWeb: Implement 'Is non-secure context' AO

This commit is contained in:
Linus Groh 2022-10-13 22:25:08 +02:00
parent 4baf0a4486
commit 8db64a8704
2 changed files with 8 additions and 0 deletions

View file

@ -144,5 +144,6 @@ EnvironmentSettingsObject& relevant_settings_object(JS::Object const&);
EnvironmentSettingsObject& relevant_settings_object(DOM::Node const&);
JS::Object& relevant_global_object(JS::Object const&);
[[nodiscard]] bool is_secure_context(Environment const&);
[[nodiscard]] bool is_non_secure_context(Environment const&);
}