LibWeb: Move AO to check if a browsing context is open to a helper file

This will be needed outside of WebDriverConnection.cpp.
This commit is contained in:
Timothy Flynn 2025-02-03 09:22:44 -05:00 committed by Sam Atkins
commit 28fb30b22f
Notes: github-actions[bot] 2025-02-05 11:34:54 +00:00
3 changed files with 16 additions and 13 deletions

View file

@ -22,4 +22,6 @@ ErrorOr<GC::Ref<HTML::WindowProxy>, WebDriver::Error> deserialize_web_frame(JS::
bool represents_a_web_window(JS::Value);
ErrorOr<GC::Ref<HTML::WindowProxy>, WebDriver::Error> deserialize_web_window(JS::Object const&);
ErrorOr<void, WebDriver::Error> ensure_browsing_context_is_open(GC::Ptr<HTML::BrowsingContext>);
}