mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
2029c98fa7
We provide `length` property and `go` / `back` / `forward` methods implementation here.
12 lines
530 B
Text
12 lines
530 B
Text
// https://html.spec.whatwg.org/multipage/history.html#the-history-interface
|
|
[Exposed=Window]
|
|
interface History {
|
|
readonly attribute unsigned long length;
|
|
// FIXME: attribute ScrollRestoration scrollRestoration;
|
|
// FIXME: readonly attribute any state;
|
|
undefined go(optional long delta = 0);
|
|
undefined back();
|
|
undefined forward();
|
|
undefined pushState(any data, DOMString unused, optional USVString? url = null);
|
|
undefined replaceState(any data, DOMString unused, optional USVString? url = null);
|
|
};
|