mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibWeb: Expose NodeFilter on the Window object
This commit is contained in:
parent
8fdf4b43cd
commit
62e3117dfd
2 changed files with 3 additions and 1 deletions
|
@ -25,6 +25,7 @@ interface NodeFilter {
|
|||
const unsigned long SHOW_DOCUMENT_FRAGMENT = 0x400;
|
||||
const unsigned long SHOW_NOTATION = 0x800; // legacy
|
||||
|
||||
unsigned short acceptNode(Node node);
|
||||
// FIXME: Uncomment this once NodeFilter is a callback interface.
|
||||
// unsigned short acceptNode(Node node);
|
||||
|
||||
};
|
||||
|
|
|
@ -41,6 +41,7 @@ libweb_js_bindings(DOM/MutationRecord)
|
|||
libweb_js_bindings(DOM/MutationObserver)
|
||||
libweb_js_bindings(DOM/NamedNodeMap)
|
||||
libweb_js_bindings(DOM/Node)
|
||||
libweb_js_bindings(DOM/NodeFilter)
|
||||
libweb_js_bindings(DOM/NodeIterator)
|
||||
libweb_js_bindings(DOM/NodeList)
|
||||
libweb_js_bindings(DOM/ProcessingInstruction)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue