tgvashworth / ServiceWorker-Polyfill

[DEPRECATED] JavaScript ServiceWorker implementation, enabling exploration by authors.
66 stars 7 forks source link

Replace websocket for navigate/resource differentiation #17

Closed jakearchibald closed 10 years ago

jakearchibald commented 10 years ago

Instead use: http://developer.chrome.com/extensions/webRequest.html

'onbeforerequest' to sync add "for-service-worker" header

The event has a type http://developer.chrome.com/extensions/webRequest.html#property-details-type

Which is:

tgvashworth commented 10 years ago

Fixed in bb95d28