Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime.onMessage.addListener with a Promise does not work in Chromium based browsers #53

Closed
martonlederer opened this issue Apr 9, 2021 · 0 comments

Comments

@martonlederer
Copy link

I followed the example in the Mozilla Webextension docs (here) and it does not seem to work in Chromium based Brave browser.

I get a response from the background script right away, but it is null, no matter what i return. If the listener is synchronous, it works just fine.

Any tips, or is this a known issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant