LibWeb: Flesh out a chunk of the HTML spec's frame navigation algorithms

This commit is contained in:
Andreas Kling 2022-09-19 17:46:34 +02:00
parent e5f6d36616
commit 4ee5dfbe4b
Notes: sideshowbarker 2024-07-17 06:49:58 +09:00
8 changed files with 479 additions and 8 deletions

View file

@ -629,6 +629,13 @@ void Window::set_name(String const& name)
browsing_context()->set_name(name);
}
// https://html.spec.whatwg.org/multipage/interaction.html#transient-activation
bool Window::has_transient_activation() const
{
// FIXME: Implement this.
return false;
}
// https://w3c.github.io/requestidlecallback/#start-an-idle-period-algorithm
void Window::start_an_idle_period()
{