Reported in https://github.com/pixiebrix/pixiebrix-extension/pull/4208#discussion_r962044715
Currently, the only way to message chrome-extension:// pages is by specifying a page, with an optional tabId. If a page is missing, it's assumes that a message is supposed to be forwarded:
|
if (!to.page) { |
|
return "forward"; |
|
} |
Improvement
Related
Reported in https://github.com/pixiebrix/pixiebrix-extension/pull/4208#discussion_r962044715
Currently, the only way to message
chrome-extension://pages is by specifying apage, with an optionaltabId. If apageis missing, it's assumes that a message is supposed to be forwarded:webext-messenger/source/thisTarget.ts
Lines 96 to 98 in 7d66d2e
Improvement
page-less target must be forwardedRelated