- From: Matt Falkenhagen <notifications@github.com>
- Date: Fri, 06 Jul 2018 01:11:09 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 6 July 2018 08:11:30 UTC
The Update algorithm has: > 16. Invoke Run Service Worker algorithm.. > 17. If an uncaught runtime script error occurs during the above step, then... Step 17 is a bit vague: does it refer to just script errors or if JS execution was interrupted for some reason (I think Chrome may do this from DevTools or some system error). I believe the HTML and ES spec calls all such states "abrupt completion". We could refer to that. Run Service Worker invokes: > If script is a classic script, then run the classic script script. Otherwise, it is a module script; run the > module script script. [Run the classic script](https://html.spec.whatwg.org/multipage/webappapis.html#run-a-module-script) returns undefined on an abrupt completion. [Run the module script](https://html.spec.whatwg.org/multipage/webappapis.html#run-a-module-script) doesn't return anything but it can probably be extended to, or we can handwave with "if script's evaluationStatus is an abrupt completion". -- 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/1334
Received on Friday, 6 July 2018 08:11:30 UTC