1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 07:34:58 +00:00
serenity/Userland/Libraries/LibWeb/HTML/History.idl

12 lines
546 B
Text

// https://html.spec.whatwg.org/multipage/history.html#the-history-interface
[Exposed=Window, UseNewAKString]
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);
};