mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Implement the 'Entry Realm/{settings,global} object' concepts
This commit is contained in:
committed by
Linus Groh
parent
c9f9fcd8fd
commit
f69c135796
Notes:
sideshowbarker
2024-07-17 04:26:54 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/f69c135796 Pull-request: https://github.com/SerenityOS/serenity/pull/16072 Reviewed-by: https://github.com/linusg ✅ Reviewed-by: https://github.com/trflynn89
@@ -143,6 +143,9 @@ 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&);
|
||||
JS::Realm& entry_realm();
|
||||
EnvironmentSettingsObject& entry_settings_object();
|
||||
JS::Object& entry_global_object();
|
||||
[[nodiscard]] bool is_secure_context(Environment const&);
|
||||
[[nodiscard]] bool is_non_secure_context(Environment const&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user