浏览代码

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

Shannon Booth 2 年之前
父节点
当前提交
79fc7d7c7c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Userland/Libraries/LibWeb/HTML/EventLoop/Task.h

+ 3 - 0
Userland/Libraries/LibWeb/HTML/EventLoop/Task.h

@@ -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)