Closed Bug 640509 Opened 14 years ago Closed 7 years ago

Expose getUpdateURL() in nsIUpdateChecker interface

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: whimboo, Unassigned)

References

Details

Right now any support code which wants to get the URL of the AUS snippet has to build up the string on its own. We should expose getUpdateURL() in nsIUpdateChecker so no duplicate code would have to be created. http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/nsUpdateService.js#2029 http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/nsIUpdateService.idl#341 It would help us a lot with our Mozmill update tests.
UpdateUtils.formatUpdateURL should suffice.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.