Skip to content

Consider extending MessageEvent #25

@miketaylr

Description

@miketaylr

It may be useful to pass additional information to the receiver via the MessageEvent, so a developer can know that delegation failed, or was denied or something similar.

window.addEventListener("message", e => {
  if (e.delegate == false) {
    // do something useful, rather than hope the API i would have called has a rejection handler (or w/e)
 }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions