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

Warn if a message was received when no handlers have been registered at all #74

Closed
fregante opened this issue Aug 17, 2022 · 0 comments · Fixed by #77
Closed

Warn if a message was received when no handlers have been registered at all #74

fregante opened this issue Aug 17, 2022 · 0 comments · Fixed by #77
Labels
enhancement New feature or request

Comments

@fregante
Copy link
Collaborator

fregante commented Aug 17, 2022

See pixiebrix/pixiebrix-extension#4058 (comment)

// contentScript
import 'webext-messenger'
// background script
import {messenger} from 'webext-messenger'

messenger('RUN_BRICK', {tab: 1})

The call throws No handler registered for RUN_BRICK but should throw No handler registered at all yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant