Blame view

lib/jsdom/living/window/History.webidl 482 Bytes
858f2bdf5   Boyan Georgiev   fixes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  enum ScrollRestoration { "auto", "manual" };
  
  [Exposed=Window]
  interface History {
  //  readonly attribute unsigned long index;
    readonly attribute unsigned long length;
  //  attribute ScrollRestoration scrollRestoration;
    readonly attribute any state;
    void go(optional long delta = 0);
    void back();
    void forward();
    void pushState(any data, DOMString title, optional USVString? url = null);
    void replaceState(any data, DOMString title, optional USVString? url = null);
  };