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

Return a promise from the runtime.onMessage listener #2018

Merged

Conversation

candela97
Copy link
Collaborator

This way errors thrown in the background are correctly handled by the page script. Since we're using the webextensions polyfill, this approach should work on Chrome as well.

@candela97 candela97 force-pushed the refactor-runtime.onMessage-listener branch from 6a988c1 to 8929fa2 Compare August 23, 2024 13:25
@tfedor tfedor merged commit 1086250 into IsThereAnyDeal:develop Aug 24, 2024
@candela97 candela97 deleted the refactor-runtime.onMessage-listener branch August 24, 2024 16:59
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

Successfully merging this pull request may close these issues.

2 participants