3 ms·
The security model for service workers looks interesting. Will other browsers do similar things? "A service worker registered by an example.com iframe inside a
by skybrian 9y ago
The security model for service workers looks interesting. Will other browsers do similar things?
"A service worker registered by an example.com iframe inside a webkit.org page will be able to communicate to all service workers and clients that share the same (webkit.org, example.com) partition, but not to any other example.com or webkit.org client. A network load made by a (webkit.org, example.com) service worker will use the same cookies as if the network load was made in an example.com frame embedded in a webkit.org page. Similarly, private browsing mode is enforced in a service worker by partitioning service workers according the browsing session."
https://webkit.org/blog/8090/workers-at-your-service/ https://webkit.org/blog/8090/workers-at-your-service/