1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:57:45 +00:00

LibWeb: Implement getting "descendant navigables" of a document

This commit is contained in:
Andreas Kling 2022-12-16 15:06:55 +01:00
parent 21e383c24f
commit 7af09481f5
2 changed files with 42 additions and 0 deletions

View file

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