Closed Bug 291790 Opened 19 years ago Closed 19 years ago

Insufficient log detail in installItem(): invalid install.rdf (bad version) says "... failure, item is not compatible" in JS console

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: asqueella, Assigned: bugs)

References

Details

installItem() could log more detailed info when it fails to install an item. I'm
not sure whether the LOG() calls will be removed in a release version, but the
EM really ought to log detailed info somewhere if registration of a silently
installed extension fails.

STR:
1. create an extension with bad install.rdf (eg. a string in em:version)
2. create a GUID file pointing to that bad extension
3. start Firefox

Actual results: "... failure, item is not compatible" in JS console

Expected: elaborate description of what exact part of install.rdf EM doesn't
like (as you get when installing an XPI via InstallTrigger).
I checked in some better logging with 291831.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.