1
Fork 0
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:
Aliaksandr Kalenik 2023-04-25 20:50:53 +03:00 committed by Andreas Kling
parent 61c0174fec
commit 74ab8ec4f0

View file

@ -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;