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:
parent
05779fbd17
commit
95949ba8f2
Notes:
github-actions[bot]
2025-02-24 17:30:16 +00:00
Author: https://github.com/Lubrsi
Commit: 95949ba8f2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3685
Reviewed-by: https://github.com/gmta ✅
5 changed files with 1000 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue