Closed Bug 784269 Opened 12 years ago Closed 6 years ago

Support passing in different icon sizes via InstallTrigger

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: Unfocused, Unassigned)

References

Details

Bug 773214 makes AddonInstall/AddonInstallWrapper aware of different icon sizes, much like bug 760892 did for AddonWrapper. It would be nice if InstallTrigger allowed passing in different icon sizes too, so installs initiated via web pages (that aren't on AMO) can be on-par with installs coming from the Addon Manager APIs.

Currently pages can supply an icon via something like:

InstallTrigger.install({
  "myaddon": {
    URL: "http://myawesomeaddon.com/install.xpi",
    IconURL: "http://myawesomeaddon.com/addonicon.png"
  }
});


I'd suggest supporting an alternate property "Icons", and if that's present then ignore "IconURL" (since pages will want to use both for backwards compat).
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.