Skip to content

Feature request: "isolate web app" hint #1109

Open
@mgiuca

Description

This is something we've discussed for some time - 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:

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

(Precedence: the "prefer_related_applications" 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.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions