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

LibWebView+WebContent: Add IPC to run the fragment serialization steps

This commit is contained in:
Timothy Flynn 2022-11-02 20:55:16 -04:00 committed by Linus Groh
parent 13b8eeff54
commit 82af1557dd
5 changed files with 22 additions and 0 deletions

View file

@ -32,6 +32,7 @@ endpoint WebContentServer
debug_request(String request, String argument) =|
get_source() =|
serialize_source() => (String source)
inspect_dom_tree() =|
inspect_dom_node(i32 node_id, Optional<Web::CSS::Selector::PseudoElement> pseudo_element) => (bool has_style, String specified_style, String computed_style, String custom_properties, String node_box_sizing)
get_hovered_node_id() => (i32 node_id)