mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Use weak references in the custom elements reaction stack
This commit is contained in:
committed by
Andreas Kling
parent
aa9c478ee9
commit
9a5c648b2f
Notes:
github-actions[bot]
2025-12-25 19:23:29 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/9a5c648b2f7 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7230
@@ -39,6 +39,6 @@ WEB_API JS::VM& main_thread_vm();
|
||||
|
||||
void queue_mutation_observer_microtask(DOM::Document const&);
|
||||
WEB_API NonnullOwnPtr<JS::ExecutionContext> create_a_new_javascript_realm(JS::VM&, Function<JS::Object*(JS::Realm&)> create_global_object, Function<JS::Object*(JS::Realm&)> create_global_this_value);
|
||||
WEB_API void invoke_custom_element_reactions(Vector<GC::Root<DOM::Element>>& element_queue);
|
||||
WEB_API void invoke_custom_element_reactions(Vector<GC::Weak<DOM::Element>>& element_queue);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user