mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:18:12 +00:00
LibWeb/HTML: Port Window.history to IDL
This commit is contained in:
parent
eccc0d90de
commit
c42496187b
6 changed files with 17 additions and 9 deletions
|
@ -2068,6 +2068,11 @@ JS::NonnullGCPtr<HTML::History> Document::history()
|
|||
return *m_history;
|
||||
}
|
||||
|
||||
JS::NonnullGCPtr<HTML::History> Document::history() const
|
||||
{
|
||||
return const_cast<Document*>(this)->history();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/origin.html#dom-document-domain
|
||||
DeprecatedString Document::domain() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue