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

information missing #18520

Closed
TheDirigible opened this issue Jul 19, 2022 · 1 comment
Closed

information missing #18520

TheDirigible opened this issue Jul 19, 2022 · 1 comment
Labels
Content:WebExt WebExtensions docs

Comments

@TheDirigible
Copy link

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
@github-actions github-actions bot added Content:WebExt WebExtensions docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jul 19, 2022
@sideshowbarker sideshowbarker removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jul 20, 2022
@rebloor
Copy link
Contributor

rebloor commented Aug 3, 2022

@TheDirigible it appears that this message is coming from the polyfill and there is an outstanding ticket mozilla/webextension-polyfill#386 to address this.

@rebloor rebloor closed this as completed Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebExt WebExtensions docs
Projects
None yet
Development

No branches or pull requests

3 participants