[w3c/ServiceWorker] What's the possible reason for navigator.serviceWorker.register error? (#1275)

I register service worker like this:
```
navigator.serviceWorker.register('/sw.js', {
    scope: '/'
}).then(function(registration) {}).catch(function(err) {console.log(err)})
```
In production environment, I caught some errors like `The request to fetch the script was interrupted. `and `The Service Worker system has shutdown.` What's the possible reasons for above errors?

-- 
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/1275

Received on Friday, 2 February 2018 10:20:15 UTC