JSUnit in Debian
----------------

Most mozilla extensions shipped in Debian are automatically enabled on
all available platforms (e.g. Firefox, Thunderbird) when installed via dpkg.

JSUnit is special.  It incorporates a handful of settings that will
slow down any tool it is connected to, and not everyone on a system
will want to have this extension installed.

So, we do not install it in the standard way, but instead place the
extension (unpacked) in /usr/share/xul-ext/jsunit.

If you want to enable the extension (e.g. for running a test suite, or
for debugging), you probably want to do it for a dedicated
profile. For example, if your profile is located in the directory
$PROFILEDIR, you should use something like:

    printf /usr/share/xul-ext/jsunit/ > "$PROFILEDIR/extensions/jsunit@enigmail.net"

For more details on enabling extensions this way, see:

https://developer.mozilla.org/en-US/docs/Archive/Add-ons/Setting_up_extension_development_environment#Firefox_extension_proxy_file

 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Fri,  8 Jun 2018 17:18:10 -0400
