
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.
18 lines
685 B
Text
18 lines
685 B
Text
#import <DOM/Event.idl>
|
|
#import <HTML/NavigationHistoryEntry.idl>
|
|
#import <HTML/NavigationType.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationcurrententrychangeevent-interface
|
|
[Exposed=Window]
|
|
interface NavigationCurrentEntryChangeEvent : Event {
|
|
constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInitDict);
|
|
|
|
readonly attribute NavigationType? navigationType;
|
|
readonly attribute NavigationHistoryEntry from;
|
|
};
|
|
|
|
dictionary NavigationCurrentEntryChangeEventInit : EventInit {
|
|
// FIXME: Set default value of null when IDL generator supports it
|
|
NavigationType? navigationType;
|
|
required NavigationHistoryEntry from;
|
|
};
|