mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
ee3dd7977d
It is going to be useful in writing tests for History API.
16 lines
448 B
Plaintext
16 lines
448 B
Plaintext
#import <DOM/Event.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#popstateevent
|
|
[Exposed=Window]
|
|
interface PopStateEvent : Event {
|
|
constructor(DOMString type, optional PopStateEventInit eventInitDict = {});
|
|
|
|
readonly attribute any state;
|
|
// FIXME: readonly attribute boolean hasUAVisualTransition;
|
|
};
|
|
|
|
dictionary PopStateEventInit : EventInit {
|
|
any state = null;
|
|
// FIXME: boolean hasUAVisualTransition = false;
|
|
};
|