mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
LibWeb: Add step property in SessionHistoryEntry
This commit is contained in:
parent
61c0174fec
commit
74ab8ec4f0
1 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,14 @@ struct SessionHistoryEntry final : public JS::Cell {
|
|||
|
||||
void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
enum class Pending {
|
||||
Tag,
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#she-step
|
||||
// step, a non-negative integer or "pending", initially "pending".
|
||||
Variant<int, Pending> step { Pending::Tag };
|
||||
|
||||
// URL, a URL
|
||||
AK::URL url;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue