Robert Strong
7e8231a87a
Bug 1392913 - Remove updatev2.manifest support and other code that is no longer necessary for backwards compatibility after the next watershed. r=mhowell
...
Removes code to fallback to the updatev2.manifest file when the updatev3.manifest file isn't present
Removes all of the one-off file and dir removals in removed-files.in
Removes code for the OS X distribution directory migration and distribution directory migration tests that were added for v2 signing
Removes code to remove the precomplete file located in the root of the bundle on OS X
Removes code too fix the registry entry for the Windows crypto provider which was needed for Windows XP and Windows Vista
2017-09-27 13:57:18 -07:00
Robert Strong
bd1b626b6d
bug 1361102 - change tests to account for updating the application update xml files asynchronously. r=dothayer
2017-09-08 10:38:55 -07:00
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
Masatoshi Kimura
0af76969af
Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
...
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Robert Strong
038cfbf861
Bug 1105689 - use SHA384 certificates to sign app update mar files. Part 6 - app update test mar files signed with a SHA384 certificate. r=mhowell, a=app_update_sha384
2017-07-30 23:27:54 -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
4f71d749a9
Bug 641212 - use lzma compression for application update. Part 4 - app update test mar files created using lzma compression. r=mhowell, a=app_update_lzma
2017-07-30 23:27:14 -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
937f6d29b4
Bug 1378641 - add more app update test logging. r=mhowell
2017-07-06 18:20:22 -07:00
Robert Strong
4e020843ec
Bug 1375549 - When the Firefox process doesn't exit apply the update anyway and don't relaunch the callback application. r=mhowell
...
This makes it so updating continue when the parent application doesn't exit (see bug 1375242) so any fixes to the parent application will be applied instead of leaving the client in a broken state.
Changes the wait time for the parent process to 30 seconds since the previous value of 70 seconds was based on nsTerminator which isn't used for this case. It still needs to be greater than the old value of 10 since we've seen cases lately where the process has taken more than 10 seconds.
2017-06-23 18:27:06 -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
Rajesh Kathiriya
7c0507b30e
Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
...
MozReview-Commit-ID: AH9ArRkjh78
2017-06-13 00:23:54 +05:30
Robert Strong
224e7a1ca1
Bug 1365845 - Reset app.update.cancelations after a successful update. r=mhowell
2017-06-06 20:26:14 -07:00
Robert Strong
ad8081d8bf
Followup eslint fix for Bug 1366918. r=me
2017-05-23 10:23:04 -07:00
Robert Strong
4d8fa53022
Bug 1366918 - Remove redundant tests from urlConstruction.js and add tests that can be added to test_UpdateUtils_url.js from urlConstruction.js. r=mhowell
2017-05-23 10:07:35 -07:00
Matt Howell
dd3af9421b
Bug 1355818 - Wait for staging to finish in the update wizard if downloading is done before the download page appears. r=rstrong
...
MozReview-Commit-ID: 1hTj35SYnDi
2017-05-14 10:23:43 -07:00
Robert Strong
a494d36f27
Test code - Bug 1362267 - Replace requests are failing on Windows and falling back to normal updates. r=mhowell
...
Use an environment var for the test updater's current working dir
2017-05-05 12:46:21 -07:00
Robert Strong
22b9fb800d
Test code - Bug 1358336 - app update tries to install staged updates for older versions. r=mhowell
2017-04-28 16:38:33 -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
Aaron Klotz
0d59a92ab7
Bug 1358552: Fix incorrect ABI specification in js-ctypes declarations in toolkit; r=froydnj
...
MozReview-Commit-ID: JuNNtbNC5pe
2017-04-25 13:00:23 -06:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Robert Strong
7fd5f9815c
Bug 1355361 - nsUpdateProcessor::ProcessUpdate should use the directory service instead of nsXREDirProvider (also removes app update gonk support). r=mhowell
...
Since the ApplyUpdate and SwitchToUpdatedApp functions are almost entirely the same this moves everything into ApplyUpdate.
Removes most of the gonk code from application update.
Makes client code and xpcshell tests use the same code for directory providers in nsUpdateDriver.cpp.
2017-04-12 18:07:07 -07:00
Robert Strong
dee68a6a8e
Test only - Bug 1355361 - function checkCallbackServiceLog is no longer used after bug 1354850. r=mhowell
2017-04-11 13:33:13 -07:00
Robert Strong
f6e5b9db83
Test only - Bug 1354850 - Use updater to run general app update service tests and remove gonk test code. r=mhowell
2017-04-10 13:00:06 -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
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Mark Banner
dc46a8fba3
Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
...
MozReview-Commit-ID: CiIsUjQzp4D
2016-11-09 22:06:32 +00:00
Robert Strong
6e9dcf8216
test code for Bug 1315506 - Remove app.update.url.override preference. r=mhowell
2016-11-11 12:58:42 -08: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
e9e13a23f9
test code - Bug 1314476 - Fix numerous app update eslint errors. r=mhowell
2016-11-02 10:09:59 -07:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04: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
Robert Strong
c4c7b92ea7
bug 1281586 - clean up logging in the hope it helps figure out this intermittent. r=mhowell
2016-09-06 12:28:56 -07:00
Robert Strong
2f55722916
Bug 1214421 - add more test logging to help with diagnosing. r=mhowell
2016-08-31 12:35:09 -07:00
Robert Strong
c54f3d3f9c
Bug 1299333 test code only - Fix app update test file in use checks. r=mhowell
2016-08-31 12:35:05 -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
d495c2e390
Bug 1246972 followup - Fix eslint errors; CLOSED TREE
...
MozReview-Commit-ID: FGTFeGOqpqw
2016-08-25 11:05:51 -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
Robert Strong
7d3c877fe4
Bug 1291985 - Remove failing check from tests that run in parallel. r=mhowell
2016-08-22 09:19:00 -07:00