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.
- Visit https://events.google.com/io2016/ in Canary
- Wait for sw caching to complete (toast)
- Refresh page
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.