Use SecurityOriginData more consistently in Service Worker code