mozilla / fx-private-relay-add-on

Companion add-on for Firefox Relay. Keep your email safe from hackers and trackers. Make an email alias with one click, and keep your address to yourself.
https://addons.mozilla.org/en-US/firefox/addon/private-relay
Mozilla Public License 2.0
67 stars 14 forks source link

Sending asynchronous message to background script without returning a response will fail #545

Closed maxxcrawford closed 9 months ago

maxxcrawford commented 9 months ago

As part of #530 (Ensure listeners are registered synchronously at the top-level), the browser.runtime.onMessage.addListener() function always returns TRUE.

This means if send a message (via browser.runtime.sendMessage) asynchronously without a response, it will fail.