Panel & PageMod Content Script message passing in a Firefox extension
问题 I'm working on porting a Chrome extension to Firefox using the Firefox Add-on SDK. The extension consists of a panel hooked up to a toolbar button (equivalent to Chrome's popup.html + browser action) and a PageMod content script. When the panel opens, it needs to send a message to the current tab's content script to receive an object containing some information from that page. The part I'm having trouble with is how to actually do the message passing. Can someone help point me in the right