ChromeDevTools / debugger-protocol-viewer

DevTools Protocol API docs—its domains, methods, and events
https://chromedevtools.github.io/devtools-protocol/
Other
862 stars 173 forks source link

Add a service worker #98

Closed TimvdLippe closed 6 years ago

TimvdLippe commented 6 years ago

Enable the registration and fixup its configuration. Also fixup the configuration by not having a separate file but using the files as declared in polymer.json.

The Ajax request for the protocolSrc should only be fired when the src actually exist. Previously, it was requesting even when the String was empty. Therefore, add a safe-check to not fire the request when the src does not exist.

Fixes #79

Atiya2018 commented 6 years ago

I need help setting up

paulirish commented 6 years ago

reviewed this a awhile ago and it lg. sorry for the delay!

TimvdLippe commented 6 years ago

Nice. Let's see what the new LightHouse score is now 🎉