From 97e7f064d733382013969c78686c321822aff33c Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Thu, 30 Apr 2026 05:22:41 +1200 Subject: [PATCH 1/2] Issue-33315 debug hint in native msg guide --- .../mozilla/add-ons/webextensions/native_messaging/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md b/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md index b75b3cdbe66ed84..c52648fc59d4b66 100644 --- a/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md @@ -192,6 +192,10 @@ browser.browserAction.onClicked.addListener(() => { }); ``` +> [!CALLOUT] +> To learn about debugging background scripts and viewing console output, see [Debugging background scripts](https://extensionworkshop.com/documentation/develop/debugging/#debugging-background-scripts) on Extension Workshop. + + #### Connectionless messaging With this pattern you call {{WebExtAPIRef("runtime.sendNativeMessage()")}}, passing it: From 9ef1e5bfb8dc8ba3ef74cb275a0a1796a0d6fefb Mon Sep 17 00:00:00 2001 From: rebloor Date: Thu, 30 Apr 2026 05:33:11 +1200 Subject: [PATCH 2/2] Linter fix Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../mozilla/add-ons/webextensions/native_messaging/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md b/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md index c52648fc59d4b66..31d189a2d6f5d3d 100644 --- a/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md @@ -195,7 +195,6 @@ browser.browserAction.onClicked.addListener(() => { > [!CALLOUT] > To learn about debugging background scripts and viewing console output, see [Debugging background scripts](https://extensionworkshop.com/documentation/develop/debugging/#debugging-background-scripts) on Extension Workshop. - #### Connectionless messaging With this pattern you call {{WebExtAPIRef("runtime.sendNativeMessage()")}}, passing it: