1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 17:15:08 +00:00
serenity/Userland/Libraries/LibWeb/HTML/Scripting
Andreas Kling 849499988e LibJS+LibWeb: Make JS::ExecutionContext protect its Web::HTML::ESO owner
We can't be nuking the ESO while its owned execution context is still on
the VM's execution context stack, as that may lead to a use-after-free.

This patch solves this by adding a `context_owner` field to each context
and treating it as a GC root.
2022-11-21 19:22:09 +00:00
..
ClassicScript.cpp LibWeb: Remove accidentally commited dbglns 2022-11-15 21:48:19 +00:00
ClassicScript.h LibWeb: Allow all Script types to be used as [[HostDefined]] values 2022-10-06 16:41:36 +02:00
Environments.cpp LibJS+LibWeb: Make JS::ExecutionContext protect its Web::HTML::ESO owner 2022-11-21 19:22:09 +00:00
Environments.h LibWeb: Support parsing a URL relative to environment settings object 2022-11-15 21:48:19 +00:00
ExceptionReporter.cpp WebContent+LibWeb+LibJS: Report exceptions to the JS console 2022-10-15 01:25:12 +02:00
ExceptionReporter.h WebContent+LibWeb+LibJS: Report exceptions to the JS console 2022-10-15 01:25:12 +02:00
Fetching.cpp LibWeb: Implement recent changes to module script fetching 2022-10-24 23:06:56 +01:00
Fetching.h LibWeb: Implement recent changes to module script fetching 2022-10-24 23:06:56 +01:00
ImportMap.h LibWeb: Add the ImportMap struct 2022-10-24 23:06:56 +01:00
ModuleMap.cpp LibWeb: Implement ModuleMap and expose it on EnvironmentSettingsObject 2022-10-06 16:41:36 +02:00
ModuleMap.h LibWeb: Implement ModuleMap and expose it on EnvironmentSettingsObject 2022-10-06 16:41:36 +02:00
ModuleScript.cpp LibWeb: Implement recent changes to module script fetching 2022-10-24 23:06:56 +01:00
ModuleScript.h LibWeb: Implement ModuleScript and JavaScriptModuleScript 2022-10-06 16:41:36 +02:00
Script.cpp LibWeb: Allow all Script types to be used as [[HostDefined]] values 2022-10-06 16:41:36 +02:00
Script.h LibWeb: Allow all Script types to be used as [[HostDefined]] values 2022-10-06 16:41:36 +02:00
WindowEnvironmentSettingsObject.cpp LibWeb: Add policy container to {Window,Worker}EnvironmentSettingsObject 2022-10-24 22:58:37 +01:00
WindowEnvironmentSettingsObject.h LibWeb: Add policy container to {Window,Worker}EnvironmentSettingsObject 2022-10-24 22:58:37 +01:00
WorkerEnvironmentSettingsObject.h LibWeb: Add policy container to {Window,Worker}EnvironmentSettingsObject 2022-10-24 22:58:37 +01:00