mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
LibWeb: Place the unique task source used by media elements last
In the merging of an extremely large navigables PR, a task queue source was added after the unique task source start value that was supposed to remain last in the enum.
This commit is contained in:
parent
bfd6deed1e
commit
8157bb601b
Notes:
sideshowbarker
2024-07-17 22:01:16 +09:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/SerenityOS/serenity/commit/8157bb601b Pull-request: https://github.com/SerenityOS/serenity/pull/19716
@ -32,15 +32,15 @@ public:
|
||||
TimerTask,
|
||||
JavaScriptEngine,
|
||||
|
||||
// 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,
|
||||
|
||||
// https://w3c.github.io/FileAPI/#fileReadingTaskSource
|
||||
FileReading,
|
||||
|
||||
// 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,
|
||||
};
|
||||
|
||||
static NonnullOwnPtr<Task> create(Source source, DOM::Document const* document, JS::SafeFunction<void()> steps)
|
||||
|
Loading…
Reference in New Issue
Block a user