diff --git a/Userland/Libraries/LibWeb/HTML/DocumentState.h b/Userland/Libraries/LibWeb/HTML/DocumentState.h
index a7f7cdfcc3..854a0bad64 100644
--- a/Userland/Libraries/LibWeb/HTML/DocumentState.h
+++ b/Userland/Libraries/LibWeb/HTML/DocumentState.h
@@ -52,6 +52,9 @@ public:
[[nodiscard]] Optional origin() const { return m_origin; }
void set_origin(Optional origin) { m_origin = move(origin); }
+ [[nodiscard]] Optional const& about_base_url() const { return m_about_base_url; }
+ void set_about_base_url(Optional url) { m_about_base_url = move(url); }
+
[[nodiscard]] Vector const& nested_histories() const { return m_nested_histories; }
[[nodiscard]] Vector& nested_histories() { return m_nested_histories; }
@@ -90,6 +93,9 @@ private:
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#document-state-origin
Optional m_origin;
+ // https://html.spec.whatwg.org/multipage/browsing-the-web.html#document-state-about-base-url
+ Optional m_about_base_url = {};
+
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#document-state-nested-histories
Vector m_nested_histories;