mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Implement clean_up_after_running_script on a Realm
Taking further steps towards implementing the shadow realm spec :^)
This commit is contained in:
parent
0628b74272
commit
d6fdaf6b26
Notes:
github-actions[bot]
2024-11-01 19:16:25 +00:00
Author: https://github.com/shannonbooth
Commit: d6fdaf6b26
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1932
Reviewed-by: https://github.com/ADKaster ✅
10 changed files with 35 additions and 31 deletions
|
@ -1498,8 +1498,8 @@ void Navigation::update_the_navigation_api_entries_for_a_same_document_navigatio
|
|||
disposed_nhe->dispatch_event(DOM::Event::create(realm, EventNames::dispose, {}));
|
||||
}
|
||||
|
||||
// 12. Clean up after running script given navigation's relevant settings object.
|
||||
relevant_settings_object(*this).clean_up_after_running_script();
|
||||
// 12. Clean up after running script given navigation's relevant realm.
|
||||
clean_up_after_running_script(relevant_realm(*this));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue