mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
LibWeb+LibWebView+WebContent: Add Inspector IPCs to manipulate DOM nodes
This adds the IDL methods and IPC to forward DOM-editing events from the Inspector WebView to the Inspector client.
This commit is contained in:
parent
4cfeb41c4b
commit
1236cbd41a
10 changed files with 91 additions and 0 deletions
|
@ -1,8 +1,14 @@
|
|||
#import <DOM/NamedNodeMap.idl>
|
||||
|
||||
[Exposed=Nobody] interface Inspector {
|
||||
|
||||
undefined inspectorLoaded();
|
||||
undefined inspectDOMNode(long nodeID, optional long pseudoElement);
|
||||
|
||||
undefined setDOMNodeText(long nodeID, DOMString text);
|
||||
undefined setDOMNodeTag(long nodeID, DOMString tag);
|
||||
undefined replaceDOMNodeAttribute(long nodeID, DOMString name, NamedNodeMap replacementAttributes);
|
||||
|
||||
undefined executeConsoleScript(DOMString script);
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue