google/ioweb2016

importHref error in Canary when active service worker

Closed this issue · 4 comments

In Canary, refreshing the page with an active sw throws an error (Polymer.Base.importHref) is not defined. This is bizarre b/c the critical.html import loads polymer at the top of the page. Native imports state that it's guaranteed to be loaded by this point. Something may have changed in Canary regarding sw timing or imports.

  1. Visit https://events.google.com/io2016/ in Canary
  2. Wait for sw caching to complete (toast)
  3. Refresh page

screen shot 2016-05-16 at 9 52 39 am

We added rel="preconnect links to the top of the page for a few resources, but that shouldn't affect this at all.

Hmm, can't reproduce. Works on My Machine™

Ditto about not being able to reproduce. One time while trying I was able to trigger some QUIC protocol errors logged in the console, but I think that was due to subpar hotel wifi.

I reset my sw and removed the idb/cache api storage and things are working again. Not sure how this happened.