tgvashworth / ServiceWorker-Polyfill

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

X-origin worker detection is naive #27

Closed tgvashworth closed 10 years ago

tgvashworth commented 10 years ago

Uses full origin & string comparison, not a comparison of protocol and domain.

tgvashworth commented 10 years ago

This is actually fixed as workers must be same-domain – workers controller subdomains is not allowed at the moment.