ladybird/Libraries/LibWeb/Bindings
Sam Atkins 6e17503423 LibWeb: Add and remove MutationObservers at specified times
In the current spec, MutationObservers are explicitly added to the
pending mutation observers list, and they are removed when that list is
cleared in the "notify mutation observers" microtask.

This solves some issues with slotchange events.

As noted, we delay actually emptying the list of pending mutation
observers until after we're finished with the "clone", because we can't
actually copy or move the intrusive list. As far as I am aware, this
should not affect behaviour because only one microtask can run at once.
2025-11-21 16:19:57 +01:00
..
AgentType.h LibWeb: Move AgentType enum to its own header 2025-05-18 17:50:05 -06:00
AudioConstructor.cpp LibWeb: Avoid invoking Trusted Types where avoidable 2025-11-06 11:43:06 -05:00
AudioConstructor.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ExceptionOrUtils.h LibWeb: Remove dom_ from dom_exception_to_throw_completion 2024-12-09 20:02:51 -07:00
HostDefined.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
HostDefined.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ImageConstructor.cpp LibWeb: Avoid invoking Trusted Types where avoidable 2025-11-06 11:43:06 -05:00
ImageConstructor.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Intrinsics.cpp LibWeb: Use enum for serialization and reimplement interface exposure 2025-07-15 09:20:02 -04:00
Intrinsics.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
MainThreadVM.cpp LibWeb: Add and remove MutationObservers at specified times 2025-11-21 16:19:57 +01:00
MainThreadVM.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
OptionConstructor.cpp LibWeb: Avoid invoking Trusted Types where avoidable 2025-11-06 11:43:06 -05:00
OptionConstructor.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
PlatformObject.cpp LibJS: Add number-to-string cache for numbers < 1000 2025-10-05 21:44:06 +02:00
PlatformObject.h LibJS: Fast-path own-property enumeration and reduce descriptor lookups 2025-09-21 15:06:32 +02:00
PrincipalHostDefined.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PrincipalHostDefined.h LibJS+LibWeb: Add fast_is<T> helpers for Realm::HostDefined class family 2025-04-18 14:45:56 +02:00
Serializable.h LibWeb+WebWorker: Use IPC mechanics for structured serialization 2025-07-18 10:09:02 -04:00
SyntheticHostDefined.cpp LibWeb: Visit proper base class in SyntheticHostDefined 2024-11-30 11:55:11 +01:00
SyntheticHostDefined.h LibJS+LibWeb: Add fast_is<T> helpers for Realm::HostDefined class family 2025-04-18 14:45:56 +02:00
Transferable.h LibWeb+WebWorker: Use IPC mechanics for structured serialization 2025-07-18 10:09:02 -04:00