From 74ab8ec4f07dce57b57da9d08ecfceef3aaf53ac Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Tue, 25 Apr 2023 20:50:53 +0300 Subject: [PATCH] LibWeb: Add step property in SessionHistoryEntry --- Userland/Libraries/LibWeb/HTML/SessionHistoryEntry.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Userland/Libraries/LibWeb/HTML/SessionHistoryEntry.h b/Userland/Libraries/LibWeb/HTML/SessionHistoryEntry.h index bccec7c2f7..d30b4df6e5 100644 --- a/Userland/Libraries/LibWeb/HTML/SessionHistoryEntry.h +++ b/Userland/Libraries/LibWeb/HTML/SessionHistoryEntry.h @@ -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 step { Pending::Tag }; + // URL, a URL AK::URL url;