mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibWeb: Implement getting "descendant navigables" of a document
This commit is contained in:
parent
21e383c24f
commit
7af09481f5
Notes:
sideshowbarker
2024-07-16 18:10:14 +09:00
Author: https://github.com/awesomekling
Commit: 7af09481f5
Pull-request: https://github.com/SerenityOS/serenity/pull/19535
2 changed files with 42 additions and 0 deletions
|
@ -445,6 +445,9 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/browsers.html#list-of-the-descendant-browsing-contexts
|
||||
Vector<JS::Handle<HTML::BrowsingContext>> list_of_descendant_browsing_contexts() const;
|
||||
|
||||
Vector<JS::Handle<HTML::Navigable>> descendant_navigables();
|
||||
Vector<JS::Handle<HTML::Navigable>> inclusive_descendant_navigables();
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/window-object.html#discard-a-document
|
||||
void discard();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue