Re: [w3c/ServiceWorker] Define settings object's cross-origin isolated capability for SW (#1545)

When I reread https://github.com/whatwg/html/issues/5435#issuecomment-609659086 and https://github.com/whatwg/html/issues/5435#issuecomment-640517912 I wonder if I misread the latter. In particular 5 there does not depend on both whereas I suggest above that it would. Given how we defined `[CrossOriginIsolated]` in IDL it would make sense to me to align `SharedArrayBuffer` with that. What do you think @yutakahirano?

Now then there is the question of shared/service workers. I think they should have a shared model. And I suppose the main question there is whether user agents can guarantee to run those in their own process, even on Android. That is, can a COEP shared/service worker always get a process separate from the document it is associated with (which could be a third-party document that does not have the capability)? If we can make that guarantee it seems okay for them to always have the capability. I'd rather not end up in a situation where they sometimes have the capability though, depending on system resources.

Does that help and make sense?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1545#issuecomment-704120945

Received on Tuesday, 6 October 2020 08:39:14 UTC