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:
parent
cd6b9613c5
commit
1e5e02c70b
8 changed files with 330 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue