Skip to content

Portals in documents with sandboxing flags #207

Description

@jeremyroman

Sandboxing flags can be set, for example, with the sandbox attribute of certain elements or the sandbox CSP directive, and can be inherited across window open (depending on the value of sandboxing flags).

For now, Chromium is moving to disallow portal context creation in a sandboxed document (https://crbug.com/1051639).

There are a few other options here we could explore, like allowing it but inheriting sandbox flags, allowing it without inheriting flags, or either of those behaviors but requiring the presence of a similar allow-portals or allow-portals-to-escape-sandbox sandboxing flag.

Metadata

Metadata

Assignees

Labels

spec todoA nitty-gritty detail that needs spec work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions