LibDevTools+LibWebView: Inform the DevTools client about DOM mutations

This commit is contained in:
Timothy Flynn 2025-03-06 19:56:03 -05:00 committed by Andreas Kling
parent 2c4b420acc
commit 8bcc3d3797
Notes: github-actions[bot] 2025-03-08 00:27:34 +00:00
6 changed files with 150 additions and 1 deletions

View file

@ -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();
}