LibDevTools: Support highlighting DOM nodes hovered in the inspector

This commit is contained in:
Timothy Flynn 2025-02-20 08:58:35 -05:00 committed by Tim Flynn
parent 2386859e4b
commit 6e8d77ff7f
Notes: github-actions[bot] 2025-02-24 17:07:00 +00:00
10 changed files with 116 additions and 9 deletions

View file

@ -35,6 +35,14 @@ void FrameActor::handle_message(StringView type, JsonObject const&)
JsonObject response;
response.set("from"sv, name());
if (type == "detach"sv) {
if (auto tab = m_tab.strong_ref())
tab->reset_selected_node();
send_message(move(response));
return;
}
if (type == "listFrames"sv) {
send_message(move(response));
return;