title: chrome extension with service worker receiving push notifications
body: <p>I've successfully built a service worker that receives push notifications following <a href="https://developers.google.com/web/fundamentals/getting-started/push-notifications" rel="noreferrer">this tutorial</a>.</p>
  
  <p>And I was trying to build a chrome extension that would allow me to subcripe to the push notifications. But it seems that when the extension runs the service worker is not supported.</p>
  
  <pre><code>Service Worker Error :^( DOMException: Failed to register a ServiceWorker: The URL protocol of the current origin ('chrome-extension://dghajjpcbhcpnnkkgehjhhceemhcacoc') is not supported.
  </code></pre>
  
  <p>Am I missing some permissions on the manifest.js?</p>
  
  <p>I followed <a href="https://developer.chrome.com/extensions/getstarted" rel="noreferrer">this tutorial</a> for the Chrome extension.</p>