- From: Matt Falkenhagen <notifications@github.com>
- Date: Wed, 16 Jan 2019 15:54:42 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 16 January 2019 23:55:03 UTC
mattto commented on this pull request.
>          1. If |response|’s [=response/cache state=] is not "`local`", set |registration|’s [=service worker registration/last update check time=] to the current time.
-        1. [=Extract a MIME type=] from the |response|'s [=response/header list=]. If this MIME type (ignoring parameters) is not a [=JavaScript MIME type=], return a [=network error=].
-        1. If |response|'s [=response/type=] is not "`error`", and |response|'s [=response/status=] is an <a>ok status</a>, then:
-            1. [=map/Set=] |serviceWorker|'s [=script resource map=][|request|'s [=request/url=]] to |response|.
-            1. Set |serviceWorker|'s [=classic scripts imported flag=].
Thanks for flagging, I'll study https://bugzilla.mozilla.org/show_bug.cgi?id=1290951. I was also considering cases like `try { importScripts('import.js'); }` which might not be a good justification.
-- 
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/pull/1377#discussion_r248495795
Received on Wednesday, 16 January 2019 23:55:03 UTC