nagivator.serviceWorker.getRegistration()
Simplifying a bunch of uneeded error handling around the place.
This is to resolve naming conflicts between the ServiceWorker JS exposed object and the internal representation of a ServiceWorker which is going to be stored cross process.