Skip to content

Make cross-origin-isolation an implementation-defined consequence of COOP + COEP? #6060

@ArthurSonzogni

Description

@ArthurSonzogni

The specification requires COOP + COEP to give access to crossOriginIsolated capabilities like SharedArrayBuffer.

Some platforms can't easily support multiple processes (like Android Webview). Therefore, they can't really support crossOriginIsolated. However the are no strong reasons for them not to enforce COEP (and maybe COOP) when their associated headers are present.

We would like to enforce COEP (and maybe COOP) on all platforms, despite the lack of crossOriginIsolated capabilities.

Should we make the specification to allow (instead of requiring) platform to set the crossOriginIsolated flag when COOP+COEP are used?

This would make crossOriginIsolated to be platform dependent. In exchange, we could enforce COEP (and COOP) in a non platform dependent way, without conflicting with the specification about crossOriginIsolated.

FYI: @whatwg/cross-origin-isolation @annevk @domenic @mikewest @camillelamy @hemeryar

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: cross-origin-embedder-policyIssues and ideas around the new "require CORP for subresource requests and frames and etc" proposaltopic: cross-origin-opener-policyIssues and ideas around the new "inverse of rel=noopener" header

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions