summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Document.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Document.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Document.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.h b/Userland/Libraries/LibWeb/DOM/Document.h
index 7b280fb2e2..8be46b9dc1 100644
--- a/Userland/Libraries/LibWeb/DOM/Document.h
+++ b/Userland/Libraries/LibWeb/DOM/Document.h
@@ -29,6 +29,7 @@
#include <LibWeb/HTML/HTMLScriptElement.h>
#include <LibWeb/HTML/History.h>
#include <LibWeb/HTML/Origin.h>
+#include <LibWeb/HTML/SandboxingFlagSet.h>
#include <LibWeb/HTML/Scripting/Environments.h>
#include <LibWeb/HTML/Window.h>
@@ -371,6 +372,16 @@ public:
// https://html.spec.whatwg.org/#completely-loaded
bool is_completely_loaded() const;
+ // https://html.spec.whatwg.org/multipage/dom.html#concept-document-navigation-id
+ Optional<String> navigation_id() const;
+ void set_navigation_id(Optional<String>);
+
+ // https://html.spec.whatwg.org/multipage/origin.html#active-sandboxing-flag-set
+ HTML::SandboxingFlagSet active_sandboxing_flag_set() const;
+
+ // https://html.spec.whatwg.org/multipage/dom.html#concept-document-policy-container
+ HTML::PolicyContainer policy_container() const;
+
protected:
virtual void visit_edges(Cell::Visitor&) override;
@@ -506,6 +517,15 @@ private:
// https://html.spec.whatwg.org/#completely-loaded-time
Optional<AK::Time> m_completely_loaded_time;
+ // https://html.spec.whatwg.org/multipage/dom.html#concept-document-navigation-id
+ Optional<String> m_navigation_id;
+
+ // https://html.spec.whatwg.org/multipage/origin.html#active-sandboxing-flag-set
+ HTML::SandboxingFlagSet m_active_sandboxing_flag_set;
+
+ // https://html.spec.whatwg.org/multipage/dom.html#concept-document-policy-container
+ HTML::PolicyContainer m_policy_container;
+
// https://html.spec.whatwg.org/multipage/interaction.html#visibility-state
String m_visibility_state { "hidden" };
};