
NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
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);
|
|
};
|