nagivator.serviceWorker.getRegistration()
These are defined by the ServiceWorker spec, not the HTML one.
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.