History.idl 530 B

123456789101112
  1. // https://html.spec.whatwg.org/multipage/history.html#the-history-interface
  2. [Exposed=Window]
  3. interface History {
  4. readonly attribute unsigned long length;
  5. // FIXME: attribute ScrollRestoration scrollRestoration;
  6. // FIXME: readonly attribute any state;
  7. undefined go(optional long delta = 0);
  8. undefined back();
  9. undefined forward();
  10. undefined pushState(any data, DOMString unused, optional USVString? url = null);
  11. undefined replaceState(any data, DOMString unused, optional USVString? url = null);
  12. };