1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

LibWeb+Browser: Support DOM Inspector for OutOfProcessWebView

This introduces a new DOMTreeJSONModel, which provides the Model for the
InspectorWidget when the Browser is running using the
OutOfProcessWebView.

This Model is constructed with a JSON object received via IPC from the
WebContentServer.
This commit is contained in:
Adam Hodgen 2021-06-07 22:21:16 +01:00 committed by Andreas Kling
parent cd6b9613c5
commit 1e5e02c70b
8 changed files with 330 additions and 7 deletions

View file

@ -205,7 +205,7 @@ void BrowserWindow::build_menus()
tab.m_dom_inspector_window->show();
tab.m_dom_inspector_window->move_to_front();
} else {
TODO();
tab.m_web_content_view->inspect_dom_tree();
}
},
this);