mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibWeb: Add principal settings object helper function
To more clearly represent the host binding which a principal setting realm has.
This commit is contained in:
committed by
Andrew Kaster
parent
cc91473f4d
commit
1871b744ff
Notes:
github-actions[bot]
2024-11-02 00:56:31 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/1871b744ff0 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1955 Reviewed-by: https://github.com/ADKaster ✅
@@ -147,6 +147,7 @@ JS::Realm& incumbent_realm();
|
||||
JS::Object& incumbent_global_object();
|
||||
|
||||
JS::Realm& current_principal_realm();
|
||||
EnvironmentSettingsObject& principal_realm_settings_object(JS::Realm&);
|
||||
EnvironmentSettingsObject& current_principal_settings_object();
|
||||
|
||||
JS::Realm& principal_realm(JS::Realm&);
|
||||
|
||||
Reference in New Issue
Block a user