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

Fascinating. It looks like SharedWorkers have the same issue. According to https://html.spec.whatwg.org/#runtime-script-errors-2 the user agent never bubbles the error to the SharedWorker object, so the onerror/EventTarget-ness is also unused there.

I'd kind of like shared and service workers to be consistent here, but I also appreciate the tendency toward minimalism. Curious what others think.

I also wonder if we can get any historical background on why AbstractWorker exists and why SharedWorker implements it.

-- 
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-362008072

Received on Wednesday, 31 January 2018 17:30:52 UTC