WebContent: Implement the switch-to-parent-frame endpoint

This commit is contained in:
Timothy Flynn 2024-09-16 16:36:29 -04:00 committed by Tim Ledbetter
commit 30ec88dce0
Notes: github-actions[bot] 2024-09-16 23:05:43 +00:00
2 changed files with 37 additions and 21 deletions

View file

@ -105,6 +105,7 @@ private:
virtual Messages::WebDriverClient::EnsureTopLevelBrowsingContextIsOpenResponse ensure_top_level_browsing_context_is_open() override;
Web::HTML::BrowsingContext& current_browsing_context() { return *m_current_browsing_context; }
JS::GCPtr<Web::HTML::BrowsingContext> current_parent_browsing_context();
JS::GCPtr<Web::HTML::BrowsingContext> current_top_level_browsing_context();
ErrorOr<void, Web::WebDriver::Error> ensure_current_browsing_context_is_open();