I’m developing an NewTab extension (already published, here: https://addons.mozilla.org/en-US/firefox/addon/floflisnewtab/) and soon it will receive the feature of NativeMessages, for communicating with its own program/binary.
I’ve forked webextensions-examples and made my modification for /native-messaging.
When I click its toolbar button, it simply doesn’t logs anything in Console.
Mozilla’s troubleshooting page (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging#troubleshooting) doesn’t mentions this issue of not logging when clicked.
Source of binary (bash) used: https://github.com/Floflis/browsernewtab/tree/main/root-in-progress/bin
Addon’s source: https://github.com/Floflis/browsernewtab/tree/main/root-in-progress/native-ext
XPI download for testing: https://drive.google.com/file/d/1TOVKeBxRIW0WyptVfgeXdsjPYc7rpCYE/view?usp=sharing
I appreciate if anyone can help and tell me what its missing for this extension to work.