mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02: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:
committed by
Andrew Kaster
parent
0628b74272
commit
d6fdaf6b26
Notes:
github-actions[bot]
2024-11-01 19:16:25 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/d6fdaf6b269 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1932 Reviewed-by: https://github.com/ADKaster ✅
@@ -306,8 +306,8 @@ JS::ThrowCompletionOr<JS::Value> execute_a_function_body(HTML::Window const& win
|
||||
// 10. Clean up after running a callback with environment settings.
|
||||
environment_settings.clean_up_after_running_callback();
|
||||
|
||||
// 11. Clean up after running a script with environment settings.
|
||||
environment_settings.clean_up_after_running_script();
|
||||
// 11. Clean up after running a script with realm.
|
||||
HTML::clean_up_after_running_script(realm);
|
||||
|
||||
// 12. Return completion.
|
||||
return completion;
|
||||
|
||||
Reference in New Issue
Block a user