mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +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:
parent
d5aaff818e
commit
bc10729af6
Notes:
github-actions[bot]
2024-11-30 11:07:30 +00:00
Author: https://github.com/shannonbooth
Commit: bc10729af6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2631
2 changed files with 28 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue