ladybird/Libraries/LibWeb/HTML/Scripting
Jelle Raaijmakers e281e3a274 LibWeb: Move mutation observers from IntrusiveList to GC::RootVector
We need to prevent these mutation observers from being garbage
collected, and since they are only part of SimilarOriginWindowAgent and
themselves as part of the intrusive list, nobody is visiting them.

Make the list of pending mutation observers a GC::RootVector so we keep
them alive until they have been processed in the microtask.

Restores 1400+ WPT subtest passes in `dom/nodes/Element-classlist.html`.
2025-11-24 12:45:22 +00:00
..
Agent.cpp LibWeb: Split out SimilarOriginWindowAgent from HTML::Agent 2025-04-25 14:07:51 +02:00
Agent.h LibJS: Switch Agent [[CanBlock]] slot to a enum member 2025-04-25 14:07:51 +02:00
ClassicScript.cpp LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
ClassicScript.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Environments.cpp LibWeb: Allow microtasks to run if document has been destroyed 2025-11-20 06:29:13 -05:00
Environments.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
EnvironmentSettingsSnapshot.cpp LibWeb/HTML: Add cross-site ancestor flag to environment 2025-08-11 11:08:04 +01:00
EnvironmentSettingsSnapshot.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
ExceptionReporter.cpp LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
ExceptionReporter.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Fetching.cpp LibWeb: Convert Ladybird notes in spec steps to // NB: ... 2025-11-18 09:07:37 -05:00
Fetching.h LibWeb: Remove exception throwing from Fetch 2025-11-07 04:08:30 +01:00
Fetching.idl
ImportMap.cpp LibWeb: Convert Ladybird notes in spec steps to // NB: ... 2025-11-18 09:07:37 -05:00
ImportMap.h LibJS: Use FlyString in PropertyKey instead of DeprecatedFlyString 2025-03-24 22:27:17 +00:00
ImportMapParseResult.cpp LibJS: Make Completion.[[Value]] non-optional 2025-04-05 11:20:26 +02:00
ImportMapParseResult.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ModuleMap.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ModuleMap.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
ModuleScript.cpp LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
ModuleScript.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Script.cpp LibWeb: Make base URL of HTML::Script Optional 2025-02-19 08:01:35 -05:00
Script.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
SerializedEnvironmentSettingsObject.cpp LibWeb/HTML: Add cross-site ancestor flag to environment 2025-08-11 11:08:04 +01:00
SerializedEnvironmentSettingsObject.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
SimilarOriginWindowAgent.cpp LibWeb: Move mutation observers from IntrusiveList to GC::RootVector 2025-11-24 12:45:22 +00:00
SimilarOriginWindowAgent.h LibWeb: Move mutation observers from IntrusiveList to GC::RootVector 2025-11-24 12:45:22 +00:00
SyntheticRealmSettings.cpp LibWeb: Remove underlying realm from SyntheticRealmSettings 2024-11-24 15:29:47 -07:00
SyntheticRealmSettings.h LibWeb: Remove underlying realm from SyntheticRealmSettings 2024-11-24 15:29:47 -07:00
TemporaryExecutionContext.cpp
TemporaryExecutionContext.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
WindowEnvironmentSettingsObject.cpp LibWeb: Avoid including Navigable.h in headers 2025-10-20 10:16:55 +01:00
WindowEnvironmentSettingsObject.h LibWeb/HTML: Add cross-site ancestor flag to environment 2025-08-11 11:08:04 +01:00
WorkerAgent.cpp LibWeb/HTML: Hook up a WorkerAgent for web workers 2025-04-25 14:07:51 +02:00
WorkerAgent.h LibWeb/HTML: Hook up a WorkerAgent for web workers 2025-04-25 14:07:51 +02:00
WorkerEnvironmentSettingsObject.cpp LibWeb/HTML: Add cross-site ancestor flag to environment 2025-08-11 11:08:04 +01:00
WorkerEnvironmentSettingsObject.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00