Closed Bug 246429 Opened 21 years ago Closed 21 years ago

Extension about dialog empty if the optional fields description and/or creator are missing

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: fpwoshg, Assigned: bugs)

References

()

Details

Attachments

(1 file)

According to the Firefox extension packaging spec the description and creator fields are optional, however if you leave them out of the install manifest the about box for an extension appears empty: http://www.bengoodger.com/software/mb/extensions/packaging/extensions.html The following test extension from Bug 246417 demonstrates this, I'll make a specific testcase if anyone wants me to: http://www.pikey.me.uk/mozilla/test/updatetest.xpi A couple of if()s in mozilla/toolkit/mozapps/extensions/content/about.js should fix this, patch coming up.
Comment on attachment 150580 [details] [diff] [review] Add some ifs to guard against QI-ing a null value Requesting review for ultra-trivial patch
Attachment #150580 - Flags: review?(mconnor)
In case it's not obvious, by "Extension about dialog" I mean: Tools->Extensions->Right-click an extension->About <Extension Name>
Attachment #150580 - Flags: review?(mconnor) → review+
Comment on attachment 150580 [details] [diff] [review] Add some ifs to guard against QI-ing a null value Checked into the Aviary branch. I did not check into the trunk because I'm not sure if sr is needed or not.
SR is not needed: http://www.mozilla.org/projects/firefox/review.html Mike's not a peer, but Ben allowed him to review minor patches.
Ok, checked into trunk as well. :) (it seems to be not showing up on Tinderbox or LXR yet, but bonsai knows about it) Marking FIXED as the patch addresses all the issues raised in this bug.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
ben reverted this with one of his trunk checkins.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: