Closed Bug 553023 Opened 15 years ago Closed 14 years ago

Expose error in AddonInstall (in addition to events)

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla2.0b1

People

(Reporter: Unfocused, Unassigned)

References

Details

(Whiteboard: [rewrite])

Expose error in AddonInstall - in addition to events such as onDownloadFailed, onInstallFailed, etc.
Can you clarify what you're looking for here?
Listening to events such as onDownloadFailed and onInstallFailed, I can get the reason why they failed. However, just by looking at the AddonInstall object, I can't see why they failed, just that they did (via AddonInstall.state). Need this because it's possible to first show an install (or update) after it has failed.
Blocks: 553487
Do we need this for Firefox 4?
Assignee: dtownsend → nobody
Assuming we want the UI to show what error occurred, yes. Using just the events isn't enough.
Depends on: 570200
Fixed by the patch in bug 570200
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Flags: in-testsuite+
Flags: in-litmus-
Target Milestone: mozilla1.9.3a5 → mozilla1.9.3
Marking as verified fixed based on check-in and a green tinderbox in our area.
Status: RESOLVED → VERIFIED
Version: unspecified → Trunk
Target Milestone: mozilla1.9.3 → mozilla1.9.3a6
You need to log in before you can comment on or make changes to this bug.