[w3c/manifest] Feature request: "isolate web app" hint (Issue #1109)

This is something we've discussed for [some time](https://github.com/w3c/webappswg/wiki/TPAC-2023#installable-web-apps) - the ability for web apps to provide a hint as to whether they should be isolated or not (i.e. permissions and storage for the web app when installed are in a separate bucket to the web origin's permissions/storage bucket when not installed).

I'm proposing a simple ternary hint which allows apps to state that they wish to be isolated, or do not wish to be isolated, or have no preference (the default). Strawperson:

```js
{
  "prefer_isolation": "isolate" | "no_isolate" | "auto"
}
```

(Precedence: the [`"prefer_related_applications"`](https://www.w3.org/TR/appmanifest/#prefer_related_applications-member) member acts as a similarly-named hint, although it is a Boolean. I would prefer an enum to a Boolean so we can have an explicit signal in either direction and not specify either option as the default.)

User agents would be free to ignore this member entirely, or respect it (e.g. isolating only apps that request it), and treat `"auto"` as equal to either `"isolate"` or `"no_isolate"` as desired.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/1109
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/issues/1109@github.com>

Received on Wednesday, 17 January 2024 06:36:35 UTC