diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-21 15:46:51 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-21 15:46:51 +0100 |
commit | 6f78cfb3a486efa43f7b25aa809df4a4444c62f8 (patch) | |
tree | 9f41ecd7fefaeb6a60d40c829ab9da579b318d3f /toolkit/mozapps/update | |
parent | 73551520db0d9e87cba9060271534aa5e8401a4a (diff) | |
download | UXP-6f78cfb3a486efa43f7b25aa809df4a4444c62f8.tar UXP-6f78cfb3a486efa43f7b25aa809df4a4444c62f8.tar.gz UXP-6f78cfb3a486efa43f7b25aa809df4a4444c62f8.tar.lz UXP-6f78cfb3a486efa43f7b25aa809df4a4444c62f8.tar.xz UXP-6f78cfb3a486efa43f7b25aa809df4a4444c62f8.zip |
Remove error table with unspecified errors.
Tag #145
Diffstat (limited to 'toolkit/mozapps/update')
-rw-r--r-- | toolkit/mozapps/update/nsUpdateService.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/toolkit/mozapps/update/nsUpdateService.js b/toolkit/mozapps/update/nsUpdateService.js index ee2ff0b0f..4e2d66a5c 100644 --- a/toolkit/mozapps/update/nsUpdateService.js +++ b/toolkit/mozapps/update/nsUpdateService.js @@ -110,21 +110,6 @@ const WRITE_ERRORS = [WRITE_ERROR, WRITE_ERROR_DELETE_BACKUP, WRITE_ERROR_EXTRACT]; -// Array of write errors to simplify checks for service errors -const SERVICE_ERRORS = [SERVICE_UPDATER_COULD_NOT_BE_STARTED, - SERVICE_NOT_ENOUGH_COMMAND_LINE_ARGS, - SERVICE_UPDATER_SIGN_ERROR, - SERVICE_UPDATER_COMPARE_ERROR, - SERVICE_UPDATER_IDENTITY_ERROR, - SERVICE_STILL_APPLYING_ON_SUCCESS, - SERVICE_STILL_APPLYING_ON_FAILURE, - SERVICE_UPDATER_NOT_FIXED_DRIVE, - SERVICE_COULD_NOT_LOCK_UPDATER, - SERVICE_INSTALLDIR_ERROR, - SERVICE_COULD_NOT_COPY_UPDATER, - SERVICE_STILL_APPLYING_TERMINATED, - SERVICE_STILL_APPLYING_NO_EXIT_CODE]; - // Error codes 80 through 99 are reserved for nsUpdateService.js and are not // defined in common/errors.h const FOTA_GENERAL_ERROR = 80; |