Skip to content

Performance isolation for srcdoc iframes (a la Origin-Agent-Cluster) #7328

Open
@josephrocca

Description

@josephrocca

Is there currently a way to performance-isolate a srcdoc iframe? The header-specified isolation approach (i.e. Origin-Agent-Cluster) doesn't seem to support this use case.

I'd like to essentially use a srcdoc iframe as a "rendered" webworker. So it has the performance isolation aspect of webworkers, and the ability to dynamically launch arbitrary code, and (importantly) it also has the ability render fully-interactive HTML.

If the parent frame freezes for whatever reason, the child srcdoc frame will remain interactive, and vice versa - as is the case with Origin-Agent-Cluster-isolated frames.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: agentThe interaction with JavaScript's agent and agent cluster conceptstopic: sandbox

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions