1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

LibWeb: Return actual callback object from NodeIterator::filter

This commit is contained in:
Luke Wilde 2025-02-24 16:28:53 +00:00 committed by Jelle Raaijmakers
parent 05779fbd17
commit 95949ba8f2
Notes: github-actions[bot] 2025-02-24 17:30:16 +00:00
5 changed files with 1000 additions and 2 deletions

View file

@ -8,7 +8,9 @@ interface NodeIterator {
readonly attribute Node referenceNode;
readonly attribute boolean pointerBeforeReferenceNode;
readonly attribute unsigned long whatToShow;
readonly attribute NodeFilter? filter;
// FIXME: `object?` should be `NodeFilter?`, but we don't yet properly support callback interfaces.
readonly attribute object? filter;
Node? nextNode();
Node? previousNode();