|
@@ -35,6 +35,9 @@ public:
|
|
// Some elements, such as the HTMLMediaElement, must have a unique task source per instance.
|
|
// 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.
|
|
// Keep this field last, to serve as the base value of all unique task sources.
|
|
UniqueTaskSourceStart,
|
|
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)
|
|
static NonnullOwnPtr<Task> create(Source source, DOM::Document const* document, JS::SafeFunction<void()> steps)
|