- From: Jake Archibald <notifications@github.com>
- Date: Wed, 22 Apr 2015 06:23:44 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 22 April 2015 13:24:11 UTC
On #684 I pitch the idea of:
```
// https://foo/sw.js
self.oninstall = event => {
event.waitUntil(
event.registerExternal('//font-service/sw.js')
);
};
```
This would only require `'//font-service/sw.js` to have a header indicating scope. It doesn't allow page/subresource headers to register a ServiceWorker, but is there any benefit in doing this?
---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/685#issuecomment-95175569
Received on Wednesday, 22 April 2015 13:24:11 UTC