LibWeb: Implement 'Is secure context' AO

This commit is contained in:
Linus Groh 2022-10-13 22:24:15 +02:00
commit 4baf0a4486
Notes: sideshowbarker 2024-07-17 05:00:14 +09:00
2 changed files with 33 additions and 0 deletions

View file

@ -143,5 +143,6 @@ JS::Realm& relevant_realm(JS::Object const&);
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&);
}