LibWeb/HTML: Update navigation request's reserved client

Fill in a couple of FIXMEs to discard an old reserved client, and/or
create a new one, in `create_navigation_params_by_fetching()`.
This commit is contained in:
Sam Atkins 2025-03-12 12:10:14 +00:00 committed by Jelle Raaijmakers
commit 0efd1729af
Notes: github-actions[bot] 2025-03-14 17:06:38 +00:00
2 changed files with 52 additions and 2 deletions

View file

@ -50,6 +50,15 @@ public:
virtual void discard_environment() { }
protected:
Environment() = default;
Environment(String id, URL::URL creation_url, URL::URL top_level_creation_url, URL::Origin top_level_origin, GC::Ptr<BrowsingContext> target_browsing_context)
: id(move(id))
, creation_url(move(creation_url))
, top_level_creation_url(move(top_level_creation_url))
, top_level_origin(move(top_level_origin))
, target_browsing_context(move(target_browsing_context))
{
}
virtual void visit_edges(Cell::Visitor&) override;
};