EventQueue basically just posts a task to a task runner so we should be able to replace them with a simple task runner or timer.
Note: DOMWindowEventQueue is the last user of TaskType::kUnthrottled.
I realized that WorkerEventQueue doesn't use PausableTimer, while DOMWindowEventQueue uses it. Both event queues are used by IndexedDB, and I was wondering both should use PausableTimer so that events are not dispatched after inspector's breakpoint. Then, I'm trying to merge WorkerEventQueue implementation and DOMWindowEventQueue implementation to use PausableTimer before eliminating EventQueues, but I'd like to confirm if WorkerEventQueue doesn't use PausableTimer intentionally.
+nhiroki@, do you have any suggestion?
Comment 1 by hajimehoshi@chromium.org
, May 25 2018