mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:17:36 +00:00
LibJS: Turn initialize_global_object() into a regular initialize()
There's nothing special about global object initialization anymore, this can just work the same way as for any other object now.
This commit is contained in:
parent
867ad03995
commit
cfa5885855
17 changed files with 36 additions and 36 deletions
|
@ -75,7 +75,7 @@ ThrowCompletionOr<NonnullOwnPtr<ExecutionContext>> Realm::initialize_host_define
|
|||
|
||||
// 10. Let globalObj be ? SetDefaultGlobalBindings(realm).
|
||||
// 11. Create any host-defined global object properties on globalObj.
|
||||
realm->global_object().initialize_global_object(*realm);
|
||||
realm->global_object().initialize(*realm);
|
||||
|
||||
// 12. Return unused.
|
||||
return new_context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue