mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement initial part of history.state
This commit is contained in:
parent
76b4e5cefb
commit
198ea8f767
26 changed files with 130 additions and 105 deletions
|
@ -11,16 +11,16 @@ interface History {
|
|||
readonly attribute unsigned long length;
|
||||
// [Throws]
|
||||
// attribute ScrollRestoration scrollRestoration;
|
||||
// [Throws]
|
||||
// readonly attribute any state;
|
||||
[Throws]
|
||||
readonly attribute any state;
|
||||
[Throws]
|
||||
void go(optional long delta = 0);
|
||||
[Throws]
|
||||
void back();
|
||||
[Throws]
|
||||
void forward();
|
||||
// [Throws]
|
||||
// void pushState(any data, DOMString title, optional USVString? url = null);
|
||||
// [Throws]
|
||||
// void replaceState(any data, DOMString title, optional USVString? url = null);
|
||||
[Throws]
|
||||
void pushState(any data, DOMString title, optional USVString? url = null);
|
||||
[Throws]
|
||||
void replaceState(any data, DOMString title, optional USVString? url = null);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue