mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 01:40:46 +00:00
LibWeb+LibWebView+WebContent: Add an Inspector IPC to execute JavaScript
The Inspector will have an <input> element to execute user-provided JS. This adds an IDL method and IPC to forward that JS from the Inspector WebView to the Inspector client.
This commit is contained in:
parent
060807e3da
commit
9f374a5d2a
Notes:
sideshowbarker
2024-07-17 00:57:24 +09:00
Author: https://github.com/trflynn89
Commit: 9f374a5d2a
Pull-request: https://github.com/SerenityOS/serenity/pull/22111
10 changed files with 26 additions and 0 deletions
|
@ -72,5 +72,6 @@ endpoint WebContentClient
|
|||
|
||||
inspector_did_load() =|
|
||||
inspector_did_select_dom_node(i32 node_id, Optional<Web::CSS::Selector::PseudoElement> pseudo_element) =|
|
||||
inspector_did_execute_console_script(String script) =|
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue