-
- Downloads
Bug 1727820 - Implement nsIUpdateChecker API change r=bhearsum
Note that, for the most part, this isn't meant to change behavior. It is just meant to eliminate race conditions and fix some bugs. However, a tiny bit of behavior has been changed. Previously, the fallback error codes used to potentially populate nsIUpdate.statusText were 200 in Checker.onError (corresponding to "Update XML file malformed") and 404 in Checker.onLoad (corresponding to "Update XML file not found"). These really seem backwards to me. Especially in the Checker.onLoad case, where we basically use that as the fallback if we fail to parse the update XML. So the codes have effectively been reversed in this patch. Differential Revision: https://phabricator.services.mozilla.com/D159302
Showing
- toolkit/locales/en-US/chrome/mozapps/update/updates.properties 2 additions, 0 deletions...it/locales/en-US/chrome/mozapps/update/updates.properties
- toolkit/mozapps/update/UpdateService.jsm 406 additions, 227 deletionstoolkit/mozapps/update/UpdateService.jsm
- toolkit/mozapps/update/components.conf 1 addition, 1 deletiontoolkit/mozapps/update/components.conf
This diff is collapsed.
Please register or sign in to comment