mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Add AO for 'module map of realm'
This allows you to get the module map for any realm, whether it is a principal or synthetic realm. We don't yet have the concept of a synethetic realm, but this puts the groundwork in place for it.
This commit is contained in:
parent
1871b744ff
commit
0382933a0a
Notes:
github-actions[bot]
2024-11-02 00:56:26 +00:00
Author: https://github.com/shannonbooth
Commit: 0382933a0a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1955
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 10 additions and 0 deletions
|
@ -141,6 +141,7 @@ void prepare_to_run_script(JS::Realm&);
|
|||
void clean_up_after_running_script(JS::Realm const&);
|
||||
void prepare_to_run_callback(JS::Realm&);
|
||||
void clean_up_after_running_callback(JS::Realm const&);
|
||||
ModuleMap& module_map_of_realm(JS::Realm&);
|
||||
|
||||
EnvironmentSettingsObject& incumbent_settings_object();
|
||||
JS::Realm& incumbent_realm();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue