title: Service Worker marked as redundant
body: <p>The service worker won't installed and keep having its status into redundant. Refreshing the page will add more service worker in the redundant state (grey indicator).</p>
  
  <p>I've tried console.log("installed") in the self.addEventListener function argument and it worked. The service worker is marked as activated and running (green indicator)</p>
  
  <p>Below will make the service worker becomes redundant</p>
  
  <pre><code>self.addEventListener("install", function (event) {
      event.waitUntil(
          caches.open(CACHE_NAME).then(function (cache) {
              var newImmutableRequests = [];
              return Promise.all(
                  immutableRequests.map(function (url) {
                      return caches.match(url).then(function (response) {
                          if (response) {
                              return cache.put(url, response);
                          } else {
                              newImmutableRequests.push(url);
                              return Promise.resolve();
                          }
                      });
                  })
              ).then(function () {
                  return cache.addAll(newImmutableRequests.concat(mutableRequests));
              });
          })
      );
  });
  </code></pre>
  
  <p>Below will work, but it does not cache files</p>
  
  <pre><code>self.addEventListener("install", function (event) {
      console.log("installed");
  });
  </code></pre>
  
  <p>I expect the service worker to be installed and able to cache files, but it goes into a redundant state instead.</p>