We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage
No response
I was sent here by this runtime message, which is the first I've heard of it: Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)
I go to that page, and there is not one mention of sendResponse being removed or deprecated.
a mention of sendResponse being removed or deprecated.
en-us/mozilla/add-ons/webextensions/api/runtime/onmessage
The text was updated successfully, but these errors were encountered:
@TheDirigible it appears that this message is coming from the polyfill and there is an outstanding ticket mozilla/webextension-polyfill#386 to address this.
Sorry, something went wrong.
No branches or pull requests
MDN URL
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
I was sent here by this runtime message, which is the first I've heard of it:
Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)
I go to that page, and there is not one mention of sendResponse being removed or deprecated.
What did you expect to see?
a mention of sendResponse being removed or deprecated.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/mozilla/add-ons/webextensions/api/runtime/onmessage
The text was updated successfully, but these errors were encountered: