LibWeb: Add scaffold for 'principal realm of realm'

Allowing us to implement other AOs in terms of this one.
This commit is contained in:
Shannon Booth 2024-10-24 19:26:37 +13:00 committed by Andrew Kaster
commit f7a4d94b24
Notes: github-actions[bot] 2024-11-02 00:56:41 +00:00
2 changed files with 14 additions and 2 deletions

View file

@ -149,6 +149,7 @@ JS::Object& incumbent_global_object();
JS::Realm& current_principal_realm();
EnvironmentSettingsObject& current_principal_settings_object();
JS::Realm& principal_realm(JS::Realm&);
JS::Object& current_principal_global_object();
JS::Realm& relevant_realm(JS::Object const&);
EnvironmentSettingsObject& relevant_settings_object(JS::Object const&);