Closed Bug 771778 Opened 12 years ago Closed 7 years ago

<em:optionsType>2</em:optionsType> in install.rdf without a corresponding options.xul file breaks details view

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Unfocused, Unassigned)

Details

If an addon includes <em:optionsType>2</em:optionsType> in its install.rdf, but the .xpi contains no options.xul, the detail pane is broken (as in, won't even show anything). We need to catch any exceptions coming from the XHR that loads the inline options file.

Additionally, when reading the manifest, we should check then and there whether optionsType is valid. ie, if it's set to 2 (inline), but there's no corresponding options.xul file, then the manifest is lying and we should store 0 (none) in the database.
With bug 1414406 about to land, this is no longer relevant
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.