1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00

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
parent 70ca295404
commit 79fc7d7c7c

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)