summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-01-01 17:41:56 +0100
committerAndreas Kling <kling@serenityos.org>2023-04-25 12:54:01 +0200
commit2626e28bb6662687e28f73c728a26b92a4109f8d (patch)
tree01a5b0e2566287183d1aac0f58b2fe273658b0e2
parentaef36ce828ea1a1a6b12c5d93b071c38f008ec61 (diff)
downloadserenity-2626e28bb6662687e28f73c728a26b92a4109f8d.zip
LibWeb: Add HTML::Task::Source::NavigationAndTraversal
-rw-r--r--Userland/Libraries/LibWeb/HTML/EventLoop/Task.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/EventLoop/Task.h b/Userland/Libraries/LibWeb/HTML/EventLoop/Task.h
index 98f8ca3b1e..dfbd0a3a14 100644
--- a/Userland/Libraries/LibWeb/HTML/EventLoop/Task.h
+++ b/Userland/Libraries/LibWeb/HTML/EventLoop/Task.h
@@ -35,6 +35,9 @@ public:
// Some elements, such as the HTMLMediaElement, must have a unique task source per instance.
// Keep this field last, to serve as the base value of all unique task sources.
UniqueTaskSourceStart,
+
+ // https://html.spec.whatwg.org/multipage/webappapis.html#navigation-and-traversal-task-source
+ NavigationAndTraversal,
};
static NonnullOwnPtr<Task> create(Source source, DOM::Document const* document, JS::SafeFunction<void()> steps)