If I want to do things that the WebExtension APIs do not support, it looks like I need to use ChromeUtils.import and import some magic that does stuff that is not documented anywhere [such as]
var { ExtensionCommon } = ChromeUtils.import("resource://gre/modules/ExtensionCommon.jsm");
The WebExtensions APIs are well documented, but soon after I tried Google for a documentation of what ExtensionCommon.jsm can do for me ... I had the feeling to enter a dark cave.
So:
What's provided by ExtensionCommon.jsm?
Is it useful for extensions to import that module?
So:
ExtensionCommon.jsm
?See also #19.