1
Fork 0
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:
Luke Wilde 2022-10-28 15:38:22 +01:00 committed by Linus Groh
parent 8fdf4b43cd
commit 62e3117dfd
2 changed files with 3 additions and 1 deletions

View file

@ -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);
};

View file

@ -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)