Open Bug 952979 Opened 12 years ago Updated 3 years ago

Improve Documentation on InstallListener

Categories

(Core :: General, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: matrix.org, Unassigned)

References

()

Details

Largely referring to https://developer.mozilla.org/en-US/Add-ons/Add-on_Manager/InstallListener The documentation for InstallListener -- used for getting progress and result updates for an addon install -- could be improved by mentioning when and how listeners can be called in relation to each other. For example calls that are mutually exclusive (only one will ever be called). It would also be useful to highlight all of the possible "exit" events. For example it appears to me that you will always get one of onInstallEnded, onInstallCancelled or onInstallFailed which will cover all of the ways and installation can go.
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.