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:
parent
3faed65e2b
commit
1927600852
Notes:
sideshowbarker
2024-07-18 04:12:33 +09:00
Author: https://github.com/Lubrsi
Commit: 1927600852
Pull-request: https://github.com/SerenityOS/serenity/pull/9981
Reviewed-by: https://github.com/linusg ✅
10 changed files with 127 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue