mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:37:35 +00:00
LibWeb: Implement "create a new browsing context and document"
Co-authored-by: Andreas Kling <kling@serenityos.org>
This commit is contained in:
parent
6871fbce9f
commit
3b00636288
4 changed files with 196 additions and 4 deletions
|
@ -2094,7 +2094,7 @@ void Document::check_favicon_after_loading_link_resource()
|
|||
dbgln_if(SPAM_DEBUG, "No favicon found to be used");
|
||||
}
|
||||
|
||||
void Document::set_window(Badge<HTML::BrowsingContext>, HTML::Window& window)
|
||||
void Document::set_window(HTML::Window& window)
|
||||
{
|
||||
m_window = &window;
|
||||
}
|
||||
|
|
|
@ -300,7 +300,7 @@ public:
|
|||
|
||||
HTML::Window& window() const { return const_cast<HTML::Window&>(*m_window); }
|
||||
|
||||
void set_window(Badge<HTML::BrowsingContext>, HTML::Window&);
|
||||
void set_window(HTML::Window&);
|
||||
|
||||
WebIDL::ExceptionOr<void> write(Vector<DeprecatedString> const& strings);
|
||||
WebIDL::ExceptionOr<void> writeln(Vector<DeprecatedString> const& strings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue