mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibWeb: Add NavigationDestination, used for NavigateEvents
This class will be used in the algorithms for the navigate event firing algorithms to populate the destination field of the NavigateEvent.
This commit is contained in:
parent
8e03f8cb4a
commit
4989375191
7 changed files with 165 additions and 0 deletions
11
Userland/Libraries/LibWeb/HTML/NavigationDestination.idl
Normal file
11
Userland/Libraries/LibWeb/HTML/NavigationDestination.idl
Normal file
|
@ -0,0 +1,11 @@
|
|||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationdestination-interface
|
||||
[Exposed=Window, UseNewAKString]
|
||||
interface NavigationDestination {
|
||||
readonly attribute USVString url;
|
||||
readonly attribute DOMString key;
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute long long index;
|
||||
readonly attribute boolean sameDocument;
|
||||
|
||||
any getState();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue