summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/History.idl
blob: 000655737d32c102c6929921d5bfddbe109f3ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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);
};