Prechádzať zdrojové kódy

LibWeb: Add HTML::Task::Source::PostedMessage

This is the task source used by MessagePort.postMessage().
Andreas Kling 3 rokov pred
rodič
commit
68d1f5965a

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

@@ -23,6 +23,7 @@ public:
         Networking,
         HistoryTraversal,
         IdleTask,
+        PostedMessage,
     };
 
     static NonnullOwnPtr<Task> create(Source source, DOM::Document* document, Function<void()> steps)