Open Bug 1894234 Opened 7 months ago Updated 7 months ago

Get rid of WorkerPrivate HybridEventTarget

Categories

(Core :: DOM: Workers, task, P2)

task

Tracking

()

People

(Reporter: edenchuang, Assigned: edenchuang)

Details

For each WorkerRunnable dispatched to the worker should know what kind of runnable it should be and handle the dispatching failure itself.

HybridEventTarget is a workaround that provides general shutdown handling for WorkerRunnables. It makes the WorkerRunnable execute as a control runnable once dispatching fails, usually because of Worker shutdown. However, using HybridEventTarget incorrectly can introduce some unexpected behaviors.

Assignee: nobody → echuang
Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.