1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:07:44 +00:00

LibWeb: Move main thread JavaScript VM to its own file

Instead of being a weird little global function in DOM/Document.cpp,
you can now get the main thread JS VM via Bindings::main_thread_vm().
This commit is contained in:
Andreas Kling 2021-02-03 10:41:07 +01:00
parent cc2f35badd
commit 342b787d1c
5 changed files with 83 additions and 19 deletions

View file

@ -3,6 +3,7 @@ set(SOURCES
Bindings/EventWrapperFactory.cpp
Bindings/EventTargetWrapperFactory.cpp
Bindings/LocationObject.cpp
Bindings/MainThreadVM.cpp
Bindings/NavigatorObject.cpp
Bindings/NodeWrapperFactory.cpp
Bindings/ScriptExecutionContext.cpp