Skip to content

WindowProxy/Location and agent clusters #4390

Open
@annevk

Description

@annevk

After #4361 I suspect we'll still need to cleanup how we deal with WindowProxy and Location objects as we currently hand them out across agent cluster boundaries.

Effectively, they both need individual proxy objects ("WindowProxyProxy" or some such, indeed) for each agent cluster that can access them (they can be the actual objects if they're in the same agent cluster).

Perhaps this can be done with a map and some logic on browsing contexts.

This can then also define exactly how the messaging between agent clusters is to take place. And since these proxy WindowProxy/Location will be forever not same origin-domain, they can also be simpler in a way (no need for security checks, though ideally behave identical except for messaging).

(Note that we cannot remove the security checks for the objects within an agent cluster as an agent cluster can still span several origins, just not sites.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions