Open Bug 1619728 Opened 4 years ago Updated 4 years ago

SharedWorkers close themselves on all errors

Categories

(Core :: DOM: Workers, defect, P3)

defect

Tracking

()

People

(Reporter: asuth, Unassigned)

References

(Depends on 1 open bug)

Details

When looking into https://github.com/whatwg/html/issues/5323 (currently "new SharedWorker() should queue a task to fire an error when parse error occurs"), I noticed that SharedWorker::ErrorPropagation closes whenever it receives an error. Because we fire errors on runtime errors as well as the fetch/parse errors covered by the spec (bug 1254125), this means that any error will cause a SharedWorker binding to disconnect from the backing remote worker and its related MessagePort to disconnect.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.