mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:07:36 +00:00
LibWeb: Add NavigationHistoryEntry, a wrapper around SessionHistoryEntry
This commit is contained in:
parent
daa9c4a650
commit
3c1d4eab24
9 changed files with 214 additions and 0 deletions
16
Userland/Libraries/LibWeb/HTML/NavigationHistoryEntry.idl
Normal file
16
Userland/Libraries/LibWeb/HTML/NavigationHistoryEntry.idl
Normal file
|
@ -0,0 +1,16 @@
|
|||
#import <DOM/EventHandler.idl>
|
||||
#import <DOM/EventTarget.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationtype
|
||||
[Exposed=Window, UseNewAKString]
|
||||
interface NavigationHistoryEntry : EventTarget {
|
||||
readonly attribute USVString? url;
|
||||
readonly attribute DOMString key;
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute long long index;
|
||||
readonly attribute boolean sameDocument;
|
||||
|
||||
any getState();
|
||||
|
||||
attribute EventHandler ondispose;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue