Commit Graph

1245 Commits

Author SHA1 Message Date
Robert Strong
6e649b1eba Bug 1171792 - An update is attempted from an update notification when it is not possible to update. r=spohl 2015-06-08 13:11:43 -07:00
Robert Strong
344665f8f5 Bug 1168720 - Remove use of test env var MOZ_NO_REPLACE_FALLBACK and associated tests that are covered by other tests. r=spohl 2015-06-04 09:20:00 -07:00
Robert Strong
e20b2bd833 Bug 1165061 - Fix Intermittent test_0102_background_restartNotification_staging.xul by not copying app files when staging for tests and enable the tests for Linux and Mac. r=spohl 2015-06-03 11:29:51 -07:00
Robert Strong
e807306135 Bug 1168489 - Combine XPCSHELL_TESTS_MANIFESTS entries in moz.build. r=spohl 2015-06-02 12:17:45 -07:00
Robert Strong
fd8806d185 Bug 1168009 - heap-use-after-free (ASAN build) in updater.cpp mstrtok. r=spohl 2015-06-01 11:52:08 -07:00
Mike Hommey
ea7750bcb1 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Ryan VanderMeulen
bedb1caf76 Backed out changeset d39ba5b549c5 (bug 1165061) for LSAN leaks. a=me 2015-05-21 11:50:34 -04:00
Robert Strong
f770a33579 Bug 1165061 - prevent test timeouts by not copying files when staging an update in mochitest-chrome tests. r=spohl 2015-05-20 13:34:29 -07:00
Wes Kocher
5b9076b1f0 Merge b2ginbound to m-c a=merge 2015-05-14 15:37:44 -07:00
Aus Lacroix
a0f15fc73a Bug 1164037 - [OTA] Unable to find System Update. r=aus (landing on behalf of nhirata) 2015-05-13 21:14:43 -07:00
Robert Strong
94c425dca9 Bug 1164560 - only run test_0017_check_staging_basic.xul on Windows due to timing out on other platforms while copying files. r=spohl 2015-05-13 12:06:38 -07:00
Wes Kocher
dd620e38c0 Bug 1164150 - disable some recently re-enabled tests on b2g emulator a=bustage
--HG--
extra : amend_source : aef7fab2ad8a4e422f523efd9588882599675c89
2015-05-12 12:01:09 -07:00
Carsten "Tomcat" Book
dd3f1a22f8 merge mozilla-inbound to mozilla-central a=merge 2015-05-12 16:10:32 +02:00
Robert Strong
ce0d8fb360 Bug 821942 - Add xpcshell reason codes to marVersionDowngrade.js and marWrongChannel.js. r=spohl 2015-05-11 13:21:34 -07:00
Robert Strong
4832487e02 Bug 821866 - Fix and enable marAppApplyUpdateSuccess.js and marAppApplyUpdateStageSuccess.js xpcshell tests on B2G ICS Emulator opt. r=spohl 2015-05-11 13:16:55 -07:00
Robert Strong
87a3877973 Bug 821942 - Fix and enable marStageSuccessComplete.js, marAppInUseSuccessComplete.js, and marAppInUseStageSuccessComplete_unix.js xpcshell tests on B2G ICS Emulator opt. r=spohl 2015-05-11 13:16:45 -07:00
Wes Kocher
a791cefe49 Merge m-c to fx-team a=merge 2015-05-08 10:41:14 -07:00
Wes Kocher
4fb59c4c25 Merge b2g-inbound to m-c a=merge 2015-05-08 10:35:16 -07:00
Aus Lacroix
e0fd14a6c3 bug 1154947 - Use variant in update URL. r=rstrong 2015-05-07 19:00:19 -07:00
Robert Strong
98d8c4d67d Bug 1159793 - Report actual error code to telemetry instead of generic error 110. r=spohl 2015-05-08 07:34:24 -07:00
aus@mozilla.com
16141b0b23 backout of bug 1161579 - blocking smoketests. a=RyanVM 2015-05-06 11:25:29 -07:00
Robert Strong
93e29882cf Bug 1160370 - Add tags to app update test manifests. r=spohl 2015-05-01 12:10:45 -07:00
Wander Lairson Costa
ea6477d7d0 Bug 1154947 part 2: Use variant in the URL update.
We need a different update URL for each device variant. This allows us
to provide updates for both user and userdebug device variants.

The solution we came with is appending the variant (build type) in the
product device string. To avoid breaking existing phones, we do only
for non-user build types.
2015-04-30 16:26:38 -03:00
Robert Strong
603b72ce41 Bug 1162331 - refreshUpdateStatus incorrectly checks if the service should be used. r=spohl 2015-05-07 10:35:09 -07:00
Robert Strong
dffb5fb846 Bug 1159826 - ensure_copy_recursive() leaks directory streams. r=spohl 2015-04-29 17:27:33 -07:00
Robert Strong
e120b3ebb9 Bug 1127481 - Run the updater from the install directory instead of copying it. r=spohl 2015-04-28 22:41:03 -07:00
Robert Strong
b17bce13e6 Bug 1159118 - Minor code cleanup. r=spohl 2015-04-28 08:28:23 -07:00
Brian R. Bondy
812f6fd595 Bug 1158866 - Enable MAR verification on linux via NSS. r=rstrong 2015-04-21 16:39:59 -04:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Robert Strong
7167becd52 Bug 1155851 - Gonk incorrectly uses the app.update.service.enabled preference. r=marshall 2015-04-21 17:47:57 -07:00
Robert Strong
50d7b80d95 Bug 1156446 - run marFileLockedStageFailureComplete_win.js sequentially to assist with diagnostics. r=spohl 2015-04-21 07:31:06 -07:00
Robert Strong
6c8ba739ba Bug 1155896 - xpcshell log statements truncated due to equality checks for long strings. r=spohl 2015-04-21 07:30:42 -07:00
Ryan VanderMeulen
bafac6e86d Merge m-c to fx-team. a=merge 2015-04-17 16:03:31 -04:00
Robert Strong
74ebd50763 Revert behavior for gonk - Bug 1149276. r=spohl, a=RyanVM 2015-04-17 12:46:58 -07:00
Robert Strong
a2d87cd2f7 Bug 1149276 - Use Assert instead of do_check_ functions in xpcshell tests. r=spohl 2015-04-17 12:07:21 -07:00
Robert Strong
195c95a2d7 Bug 1155510 - app.update.service.errors and app.update.cancellations preferences are not correctly reset. r=spohl 2015-04-17 08:43:32 -07:00
Robert Strong
d887929577 Bug 958793 - Add 'use strict' to application update. r=spohl 2015-04-17 08:43:24 -07:00
Robert Strong
f3f5c3e99f Bug 1154591 - getCanStageUpdates has incorrect checks for Windows and B2G. r=bbondy, r=spohl 2015-04-15 08:44:48 -07:00
Robert Strong
2773a89419 Bug 1154179 - Add FAIL_ON_WARNINGS to app update. r=glandium 2015-04-14 17:00:11 -07:00
Robert Strong
91cf4cb89f Bug 1152997 - Cleanup app update build to exclude android. r=glandium, r=mossop
--HG--
rename : toolkit/mozapps/update/moz.build => toolkit/components/timermanager/moz.build
rename : toolkit/mozapps/update/nsIUpdateTimerManager.idl => toolkit/components/timermanager/nsIUpdateTimerManager.idl
rename : toolkit/mozapps/update/nsUpdateTimerManager.js => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/mozapps/update/nsUpdateTimerManager.manifest => toolkit/components/timermanager/nsUpdateTimerManager.manifest
rename : toolkit/mozapps/update/tests/unit_timermanager/consumerNotifications.js => toolkit/components/timermanager/tests/unit/consumerNotifications.js
rename : toolkit/mozapps/update/tests/unit_timermanager/xpcshell.ini => toolkit/components/timermanager/tests/unit/xpcshell.ini
2015-04-14 17:00:02 -07:00
Robert Strong
638ae38563 Bug 1151267 - app update telemetry for UPDATE_CANNOT_APPLY_* is reversed. r=spohl 2015-04-10 08:06:32 -07:00
Brian R. Bondy
07c78cb647 Bug 1151827 - Fix re-building toolkit/mozapps/update on Windows. r=rstrong
Test plan:
- On Windows, run `./mach clobber`
- On Windows, run `./mach build`, make sure it succeeds
- On Windows, run `./mach build toolkit/mozapps/update/updater` make sure it succeeds
2015-04-08 09:45:24 -04:00
Robert Strong
140d2fa062 Bug 1151266 - When test registry key is missing, binaries are not signed, etc. don't run app update tests that require these conditions. r=spohl 2015-04-07 22:43:09 -07:00
Wes Kocher
187f3295a6 Backed out 3 changesets (bug 1151266, bug 920750, bug 1138284) for Windows updater XPCshell test failures
Backed out changeset 816465912339 (bug 920750)
Backed out changeset 8cd18e65ef94 (bug 1138284)
Backed out changeset 8f9d45fcae6b (bug 1151266)
2015-04-07 18:19:46 -07:00
Robert Strong
bbf600d8a6 Bug 1138284 - Extend telemetry for large number of SERVICE_UPDATER_SIGN_ERROR errors. r=spohl 2015-04-07 14:03:04 -07:00
Robert Strong
2af84cd19e Bug 1151266 - When test registry key is missing, binaries are not signed, etc. don't run app update tests that require these conditions. r=spohl 2015-04-07 14:03:00 -07:00
Brian R. Bondy
883e38f2fc Bug 973933 - Fix Nightly builds failing on updater-xpcshell. r=rstrong 2015-03-03 23:27:17 -05:00
Brian R. Bondy
f5f7f0eac0 Bug 973933 - Temporarily disable Linux for MAR verification. r=rstrong 2015-04-06 12:03:19 -04:00
Brian R. Bondy
0cae4e498f Bug 973933 - Fix mochitest chrome updater tests. r=rstrong 2015-04-06 12:03:18 -04:00
Brian R. Bondy
ab9ccba028 Bug 973933 - New updater-xpcshell binary for updater tests. r=rstrong
This is a rollup of recent work. Changes include:
- Creating an xpcshell only updater binary. This binary has an embedded xpcshell only cert for verifying test only mars.  It is only used by tests and is not signed w/ authenticode certs.
- Modifying tests to use that new binary
- Adding a check-cert option to the maintenance service
- Using that new cert-check option in new tests to test the authenticode path
- No longer doing an authenticode check during service updater tests on the xpcshell binary.
- Enables more tests for other platforms

--HG--
rename : toolkit/mozapps/update/updater/moz.build => toolkit/mozapps/update/updater/updater-common.build
2015-04-06 12:03:18 -04:00