Skip to content

onMessage on Window does only accept messages from content-script. Messages from Background or Popup are never-resolving Promises. #96

Description

@thomasf1

Version

6.0.1

Current Behavior

A onMessage listener in the window context currently only reacts to messages from content-script. Messages from Background or Popup are never-resolving Promises.

Expected Behavior

Messages from Background or Popup to the window context should work.

Steps To Reproduce

  1. add setNamespace and a onMessage listener & on the window context
  2. add allowWindowMessaging and a send message to the content-script context -> the sendMessage resolves / works
  3. add a send message to the popup context -> the sendMessage never resolves / doesn´t work

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🧐 Bug: Needs ConfirmationSomething isn't working, but needs to be confirmed by a team member.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions