New component in xulrunner

Axel Beckert abe at deuxchevaux.org
Tue Feb 2 18:19:08 UTC 2010


Hi,

On Tue, Feb 02, 2010 at 10:27:55AM +0100, Mike Hommey wrote:
> Oh, I forgot, in 1.9.1.6-2, too, is another new component, that is able
> to dump addons information (plugins and extensions), and a reportbug
> helper script that can be hooked in a reportbug script like the
> following:
> 
> if [ -x /usr/lib/xulrunner-1.9.1/reportbug-helper-script ]; then
>         /usr/lib/xulrunner-1.9.1/reportbug-helper-script $binary
> fi
> 
> where $binary is the binary name of the xul application.

Played around with it and conkeror a little bit. Here's a first
feedback:

-dump-addons-info seems to be passed down to conkeror's command line
parser although upstream says "conkeror's command-line processor has
very low precedence, so any other handlers will run first. conkeror
should not even see the switches that other handlers consume".

Is this on purpose?

If so, I'll tell conkeror (using a debian specific patch) to
ignore that instead of arguing about an unknown option:

$ conkeror -dump-addons-info
-- Extensions information
Name: Adblock Plus
Location: /usr/lib/mozilla/extensions/{a79fe89b-6662-4ff4-8e88-09950ad4dfde}/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Status: enabled

-- Plugins informationw: unknown command switch `-dump-addons-info'.
$ 

Another option would be if
/usr/lib/xulrunner-1.9.1/reportbug-helper-script would allow me to
pass additional parameters to $binary, in conkeror's case a "-batch"
(i.e. calling "conkeror -batch -dump-addons-info") would fix the issue
without patching conkeror and could come in handy for potential other
xulrunner applications, too.

BTW: It would be nice if the missing newline after "-- Plugins
information" in case of no installed plugins would be added.

		Regards, Axel
-- 
Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/



More information about the pkg-mozilla-maintainers mailing list