mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 13:46:31 +00: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
|
@ -26,7 +26,7 @@ public:
|
|||
bool pointer_before_reference_node() const { return m_reference.is_before_node; }
|
||||
unsigned what_to_show() const { return m_what_to_show; }
|
||||
|
||||
NodeFilter* filter() { return m_filter.ptr(); }
|
||||
JS::Object* filter() const;
|
||||
|
||||
JS::ThrowCompletionOr<GC::Ptr<Node>> next_node();
|
||||
JS::ThrowCompletionOr<GC::Ptr<Node>> previous_node();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue