Re: [w3c/ServiceWorker] should `ServiceWorker` interface implement `AbstractWorker` mixin? (#1268)

Hmm, both the `SharedWorker` constructor and "run a worker" and up dispatching an `error` event there. It's not just for runtime script errors.

`AbstractWorker` used to be the interface both `Worker` and `SharedWorker` inherited from. Then it some point they started inheriting from `EventTarget` (instead of `AbstractWorker` implementing/including it) and implemented/included `AbstractWorker`.

I don't recall enough about service workers if any of this is applicable there too. Some of it seems plausible, but perhaps those errors are signaled differently.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1268#issuecomment-362010477

Received on Wednesday, 31 January 2018 17:38:33 UTC