Commit Graph
24 Commits
Author SHA1 Message Date
Robert Strong a2f10ba8bc test code - Bug 1367910 - Delete active-updates.xml instead of writing to it when there isn't an active update. r=dothayer 2017-08-31 12:20:22 -07:00
Robert Strong b1856a62ae Bug 1105689 - use SHA384 certificates to sign app update mar files. Part 5 - app update test change for the new test mar file size. r=mhowell, a=app_update_sha384 2017-07-30 23:27:44 -07:00
Robert Strong 326d3268ca Bug 641212 - use lzma compression for application update. Part 3 - test changes to support the new test mar file size and additional logging. r=mhowell, a=app_update_lzma 2017-07-30 23:27:05 -07:00
Robert Strong 10a5b650f6 Bug 1373267 - Remove hashFunction and hashValue attributes from nsIUpdatePatch and code related to these attributes. r=mhowell 2017-06-15 17:15:28 -07:00
Robert Strong d05a99a232 Bug 1372523 - Update tests for the removal of the isSecurityUpdate, showNeverForVersion, and showPrompt attributes from nsIUpdate. r=mhowell
Converts the test functions getLocalPatchString, getLocalUpdateString, getRemotePatchString, and getRemoteUpdateString to use an object as a param.
2017-06-14 16:18:42 -07:00
Robert Strong 4ee2bcb53e Test code - Bug 1348645 - check that the app update callback path is valid. r=mhowell 2017-04-28 16:37:26 -07:00
Robert Strong 95e972d6db Test code - Bug 1342742 - check that the app update patch dir, install dir, and working dir paths are valid. r=mhowell 2017-04-28 16:36:57 -07:00
Doug Thayer a5b27a8e9b Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX
2017-03-21 13:50:09 -07:00
Jared Wein 0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Robert Strong 242d167ea4 test code for Bug 1315505 - Add min and max values to app update integer values configured by preferences as appropriate to prevent prefs from breaking app update. r=mhowell 2016-11-10 09:06:29 -08:00
Dave Townsend ad93e8d12c Bug 1315402: Make toolkit/mozapps/update pass no-undef. r=jaws
This is mostly using the import-globals-from rule to pull in globals when
the subscript loader is used. For a couple of files I've turned off no-undef
altogether, these are files that are loaded by the subscript loader and depend
on globals from the parent.

MozReview-Commit-ID: 2ZzgpCQTTuu
2016-11-04 17:03:01 -07:00
Robert Strong 5a19c66c54 additional test code cleanup - Bug 1314476 - Fix numerous app update eslint errors. r=mhowell 2016-11-02 13:02:05 -07:00
Robert Strong 291367c833 Test code for Bug 1309125 - Allow configuration of the download throttle via the update.xml. r=mhowell 2016-10-12 11:37:50 -07:00
Matt Howell 0f1045b736 Bug 1246972 - Always require the update working directory to be within the installation path; r=rstrong
This required fixing a few chrome tests which broke on Mac because they were assuming updater-settings.ini would be at the same location as the executables.

Also, this patch removes many dependencies on the current working directory from updater.cpp by changing it to use absolute paths instead. Otherwise this patch would have required adding yet more chdir() calls to avoid invalidating existing assumptions about what the current directory is.

MozReview-Commit-ID: ASxfV4uVpmD
2016-08-25 15:31:13 -07:00
Robert Strong f700ab145b bug 1296207 tests - Remove unused app update billboard capability. r=mhowell 2016-08-25 13:32:15 -07:00
Wes Kocher 85ed172e67 Backed out 2 changesets (bug 1246972) for marSuccessComplete.js failures a=backout
Backed out changeset 4576637003b6 (bug 1246972)
Backed out changeset c079fb045b9d (bug 1246972)
2016-08-25 13:02:17 -07:00
Matt Howell 15447e7a92 Bug 1246972 - Always require the update working directory to be within the installation path; r=rstrong
This required fixing a few chrome tests which broke on Mac because they were assuming updater-settings.ini would be at the same location as the executables.

Also, this patch removes many dependencies on the current working directory from updater.cpp by changing it to use absolute paths instead. Otherwise this patch would have required adding yet more chdir() calls to avoid invalidating existing assumptions about what the current directory is.

MozReview-Commit-ID: ASxfV4uVpmD
2016-08-23 14:11:23 -07:00
Jared Wein 8860cdf2c1 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Robert Strong 50c4ca52e8 Bug 1287176 test code - Status file not written for staging errors. r=mhowell 2016-08-12 22:52:45 -07:00
Robert Strong 188bddedf4 Bug 1168743 - test changes - Only use env vars in the test updater and general app update cleanup. r=mhowell 2016-06-11 08:31:20 -07:00
Robert Strong ea9124c5a9 Bug 1267891 - test changes - Remove license capability from application update. r=mhowell 2016-04-29 10:01:16 -07:00
Robert Strong 9d6e3adefd Bug 1137447 - New app update telemetry for patch type (complete or partial), extended error codes, and general cleanup. r=bbondy 2015-03-28 20:20:53 -07:00
Robert Strong cd5442b508 3. Main patch for Bug 1136358 - Preprocessing and file includes make it difficult to debug app update tests. r=spohl 2015-02-27 14:51:17 -08:00
Robert Strong 1ac09efea5 1. File renames for Bug 1136358 - Preprocessing and file includes make it difficult to debug app update tests. r=spohl 2015-02-27 14:51:03 -08:00