Our app is implemented as local html+javascripts running in a custom-wrapped CEF browser. We have plans to enable push notification using GCM, but found out that file: protocol is not allowed to perform Service Worker registration.
I have tried to modify CEF source to enable it, but simply adding file protocol to serviceWorkerSchemes does not seem to do the trick. When the registration request reach the content layer, the ServiceWorkerProviderHost object created has an empty document_url. All my attempts to fill this field result in bad IPC Message error. Therefore I feel it would be better to find some help from people more knowledgeable on this.