You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the editor is just a page running in a custom app (the dev tools), they don't have a "tab" and don't report which tab they're operating on. This is the sender information for a message coming from the dev tools (to the background page):
This means that any context known to lack a sender.tab information will need to also provide a tabId. In this case, the browser.runtime.onMessage handler in background would be called with these arguments:
Since the editor is just a page running in a custom app (the dev tools), they don't have a "tab" and don't report which tab they're operating on. This is the
sender
information for a message coming from the dev tools (to the background page):This means that any context known to lack a
sender.tab
information will need to also provide a tabId. In this case, thebrowser.runtime.onMessage
handler in background would be called with thesearguments
:and then it would build the usual MessengerMeta object like this one before calling the handler:
Related
The text was updated successfully, but these errors were encountered: