1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

LibWeb: Add the History object and stub pushState and replaceState

The spec allows us to optionally return from these for any reason.
Our reason is that we don't have all the infrastructure in place yet to
implement them.
This commit is contained in:
Luke Wilde 2021-09-11 23:43:34 +01:00 committed by Andreas Kling
parent 3faed65e2b
commit 1927600852
Notes: sideshowbarker 2024-07-18 04:12:33 +09:00
10 changed files with 127 additions and 0 deletions

View file

@ -64,6 +64,7 @@ Document::Document(const URL& url)
, m_url(url)
, m_window(Window::create_with_document(*this))
, m_implementation(DOMImplementation::create(*this))
, m_history(HTML::History::create(*this))
{
m_style_update_timer = Core::Timer::create_single_shot(0, [this] {
update_style();