- From: Matt Falkenhagen <notifications@github.com>
- Date: Mon, 10 Dec 2018 00:34:14 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 10 December 2018 08:34:35 UTC
The update check spiders the script resource map of the incumbent worker scripts, but then fails immediately if one script has a non-OK status or fails the MIME check. This means if the incumbent worker is using import-script.js which now 404s, and the updated worker doesn't use import-script.js, the update will fail. Instead these checks shouldn't fail the whole update, since it's not known whether the new worker will use them. > For each url → storedResponse of newestWorker’s script resource map: > ... > 7. Extract a MIME type from the fetchedResponse’s header list. If this MIME type (ignoring parameters) is not a JavaScript MIME type, asynchronously complete these steps with a network error. > 8. If fetchedResponse’s type is "error", or fetchedResponse’s status is not an ok status, asynchronously complete these steps with a network error. -- 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/1374
Received on Monday, 10 December 2018 08:34:35 UTC