Closed Bug 997359 Opened 10 years ago Closed 9 years ago

expose getAddon(id) promise from addon/installer.js

Categories

(Add-on SDK Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1072104

People

(Reporter: zombie, Unassigned, Mentored)

Details

not necessarily as a documented method, though i don't see a strong reason.

the addon object is required for native options, and we use AddonManager.getAddonByID() in lots of tests.
forgot to mention, probably a good idea to return a neutered, read-only (deep-frozen?) version of the addon object, which covers all the use-cases we have..
Whiteboard: [mentor=jsantell@mozilla.com]
Mentor: jsantell
Whiteboard: [mentor=jsantell@mozilla.com]
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.