mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb+LibWebView+WebContent: Inform the UI about DOM mutations
This will allow our DevTools server to inform the Firefox DevTools client about DOM mutations.
This commit is contained in:
committed by
Andreas Kling
parent
bf723aad98
commit
2c4b420acc
Notes:
github-actions[bot]
2025-03-08 00:27:41 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/2c4b420acc0 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3850
@@ -333,6 +333,11 @@ void ViewImplementation::clear_highlighted_dom_node()
|
||||
highlight_dom_node(0, {});
|
||||
}
|
||||
|
||||
void ViewImplementation::set_listen_for_dom_mutations(bool listen_for_dom_mutations)
|
||||
{
|
||||
client().async_set_listen_for_dom_mutations(page_id(), listen_for_dom_mutations);
|
||||
}
|
||||
|
||||
void ViewImplementation::set_dom_node_text(Web::UniqueNodeID node_id, String text)
|
||||
{
|
||||
client().async_set_dom_node_text(page_id(), node_id, move(text));
|
||||
|
||||
Reference in New Issue
Block a user