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

NEW
Unassigned

Status

a year ago
a year ago

People

(Reporter: bgrins, Unassigned)

Tracking

Version 3
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
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.