From 2626e28bb6662687e28f73c728a26b92a4109f8d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 1 Jan 2023 17:41:56 +0100 Subject: [PATCH] LibWeb: Add HTML::Task::Source::NavigationAndTraversal --- Userland/Libraries/LibWeb/HTML/EventLoop/Task.h | 3 +++ 1 file changed, 3 insertions(+) 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 create(Source source, DOM::Document const* document, JS::SafeFunction steps)