mirror of
https://github.com/RGBCube/serenity
synced 2025-07-17 03:57:39 +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;
|
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
|
// URL, a URL
|
||||||
AK::URL url;
|
AK::URL url;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue