mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Add relevant principal helper abstract operations
These were recently added into the shadow realm merge request as convenience helpers.
This commit is contained in:
committed by
Andreas Kling
parent
d5aaff818e
commit
bc10729af6
@@ -151,10 +151,17 @@ EnvironmentSettingsObject& current_principal_settings_object();
|
||||
|
||||
JS::Realm& principal_realm(GC::Ref<JS::Realm>);
|
||||
JS::Object& current_principal_global_object();
|
||||
|
||||
JS::Realm& relevant_realm(JS::Object const&);
|
||||
JS::Realm& relevant_principal_realm(JS::Object const&);
|
||||
|
||||
EnvironmentSettingsObject& relevant_settings_object(JS::Object const&);
|
||||
EnvironmentSettingsObject& relevant_settings_object(DOM::Node const&);
|
||||
EnvironmentSettingsObject& relevant_principal_settings_object(JS::Object const&);
|
||||
|
||||
JS::Object& relevant_global_object(JS::Object const&);
|
||||
JS::Object& relevant_principal_global_object(JS::Object const&);
|
||||
|
||||
JS::Realm& entry_realm();
|
||||
EnvironmentSettingsObject& entry_settings_object();
|
||||
JS::Object& entry_global_object();
|
||||
|
||||
Reference in New Issue
Block a user