Browser: Reload the DOM Inspector's JSON data when loading a new page

Of course, there are other reasons the DOM might change, but one thing
at a time. :^)
This commit is contained in:
Sam Atkins 2021-09-01 12:50:47 +01:00 committed by Andreas Kling
commit 724f45c784
Notes: sideshowbarker 2024-07-18 04:51:34 +09:00
3 changed files with 17 additions and 1 deletions

View file

@ -19,6 +19,7 @@ public:
void set_web_view(NonnullRefPtr<Web::OutOfProcessWebView> web_view) { m_web_view = web_view; }
void set_dom_json(String);
void clear_dom_json();
void set_dom_node_properties_json(i32 node_id, String specified_values_json, String computed_values_json);
void set_inspected_node(i32 node_id);