Open Bug 1370683 Opened 2 years ago

Allow installing web extensions (i.e. gecko profiler) through the --install-extension option

Categories

(Testing :: Mochitest, enhancement)

Version 3
enhancement
Not set

Tracking

(Not tracked)

People

(Reporter: bgrins, Unassigned)

Details

I'm hoping to run the gecko profiler during a mochitest, so downloaded the xpi file and attempted to install it in the test profile like this:

> wget https://raw.githubusercontent.com/devtools-html/Gecko-Profiler-Addon/master/gecko_profiler.xpi -O ~/gecko_profiler.xpi
> ./mach mochitest --install-extension ~/gecko_profiler.xpi test_render_perf.html

I get a warning at startup and the addon doesn't get installed for the test:

> Could not install ~/gecko_profiler.xpi: "There is no item named 'install.rdf' in the archive"
You need to log in before you can comment on or make changes to this bug.