mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:57:35 +00:00
LibWeb: Add a helper class to work around empty execution context stack
We've peppered this workaround around the code base as needed in a few different ways. This adds a helper class to perform this workaround in order to simplify doing so, and ensure cleanup occurs in a RAII fashion. This also makes it easier to grep for places where this workaround is employed.
This commit is contained in:
parent
10edd38543
commit
8ec7b4401a
3 changed files with 49 additions and 0 deletions
|
@ -363,6 +363,7 @@ set(SOURCES
|
|||
HTML/Scripting/ModuleMap.cpp
|
||||
HTML/Scripting/ModuleScript.cpp
|
||||
HTML/Scripting/Script.cpp
|
||||
HTML/Scripting/TemporaryExecutionContext.cpp
|
||||
HTML/Scripting/WindowEnvironmentSettingsObject.cpp
|
||||
HTML/SessionHistoryEntry.cpp
|
||||
HTML/SharedImageRequest.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue