Skip to content

MessageEvent location href is inaccessible #22554

@nex3

Description

@nex3

Currently there's no way to get the href of the source location of a MessageEvent. This is very important for applications that exchange messages with multiple iframes that have the same origin; without it, there's no way to tell which frame sent which message.

A reproduction is available at https://github.com/nex3/post_message_test.

See also issue #21747.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.library-htmllibrary-web-audiotype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)web-librariesIssues impacting dart:html, etc., libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions