ChromeDevTools / timeline-viewer

View DevTools Timeline trace files from Google Drive wicked easily
https://chromedevtools.github.io/timeline-viewer/
Other
327 stars 44 forks source link

Uncaught ReferenceError: viewer is not defined #31

Closed paulirish closed 7 years ago

paulirish commented 7 years ago
Uncaught ReferenceError: viewer is not defined
    at ServiceWorker.installingWorker.onstatechange

on this line

    viewer.showInfoMessage('Timeline Viewer is ready to be used offline');

i think its a race condition with the script[defer] and the SW registration going quickly.

shouldn't be too hard a fix.

denar90 commented 7 years ago

should be fixed in scope of #33