mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibDevTools+LibWebView: Inform the DevTools client about DOM mutations
This commit is contained in:
parent
2c4b420acc
commit
8bcc3d3797
Notes:
github-actions[bot]
2025-03-08 00:27:34 +00:00
Author: https://github.com/trflynn89
Commit: 8bcc3d3797
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3850
6 changed files with 150 additions and 1 deletions
|
@ -58,6 +58,7 @@ void FrameActor::handle_message(StringView type, JsonObject const&)
|
|||
|
||||
if (type == "detach"sv) {
|
||||
if (auto tab = m_tab.strong_ref()) {
|
||||
devtools().delegate().stop_listening_for_dom_mutations(tab->description());
|
||||
devtools().delegate().stop_listening_for_console_messages(tab->description());
|
||||
tab->reset_selected_node();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue