LibWeb: Add HTML::Task::Source::FileReading

This commit is contained in:
Shannon Booth 2023-06-10 19:39:56 +12:00 committed by Andreas Kling
commit 79fc7d7c7c
Notes: sideshowbarker 2024-07-16 20:05:14 +09:00

View file

@ -38,6 +38,9 @@ public:
// https://html.spec.whatwg.org/multipage/webappapis.html#navigation-and-traversal-task-source
NavigationAndTraversal,
// https://w3c.github.io/FileAPI/#fileReadingTaskSource
FileReading,
};
static NonnullOwnPtr<Task> create(Source source, DOM::Document const* document, JS::SafeFunction<void()> steps)