Commit Graph

231 Commits

Author SHA1 Message Date
Robert Strong
d210e68f38 1. Move adjustPathsOnWindows to head_update.js.in - Bug 879612 - Move app update common xpcshell test code into head_update.js.in. r=bbondy 2013-06-05 20:25:06 -07:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Brian R. Bondy
41b3b11773 Bug 572162 - Changes to tests for update root hash changes. r=rstrong 2013-05-15 10:58:09 -07:00
Brian R. Bondy
69d5d201c7 Bug 572162 - Update root dir migration xpcshell tests. r=rstrong 2013-05-15 10:58:09 -07:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Brian R. Bondy
864f477636 Bug 715746 - Test fixes for allowing updates to be applied on Windows while the browser is open. r=rstrong
--HG--
rename : toolkit/mozapps/update/test/unit/test_0160_appInUse_xp_unix_complete.js => toolkit/mozapps/update/test/unit/test_0160_appInUse_complete.js
rename : toolkit/mozapps/update/test_svc/unit/test_0160_appInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0160_appInUse_complete_svc.js
2013-04-28 18:27:00 -04:00
Boris Zbarsky
425b25741d Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
14545664e3 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Marshall Culpepper
d7cf184143 Bug 833708: Correctly set the active update's errorCode when there isn't enough space in Gonk. r=dhylands 2013-02-25 21:11:14 -06:00
Robert Strong
aea7210789 Bug 753730 - Intermittent test_0110_general_svc.js failure in head_update.js | UPDATE TYPE complete. r=bbondy 2013-02-05 10:48:00 -08:00
Robert Strong
e2499456c7 Bug 767968 - Intermittent test_0201_app_launch_apply_update.js, test_0203_app_launch_apply_update.js | WindowsError: [Error 13] The process cannot access the file because it is being used by another process: '...\maintenanceservice_installer.exe'. r=bbondy 2013-02-04 17:54:13 -08:00
Robert Strong
19f32a6557 Bug 762032 - Intermittent test_0201_app_launch_apply_update_svc.js | WindowsError: [Error 13] The process cannot access the file because it is being used by another process: '...\ExecutableDir.tmp\bin\uninstall\helper.exe'. r=bbondy 2013-02-04 17:54:02 -08:00
Robert Strong
235a0bf794 Additional logging for Bug 835197 - Intermittent test_0201_app_launch_apply_update.js, test_0202_app_launch_apply_update_dirlocked.js, test_0203_app_launch_apply_update.js [Exception... 'Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.copyTo]'. r=bbondy 2013-02-01 11:36:08 -08:00
Robert Strong
a8989333ee Bug 836620 - Cleanup app binary copies used by app update xpcshell tests. r=bbondy 2013-01-31 12:31:52 -08:00
Ehsan Akhgari
84c4ac3c75 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Robert Strong
5217cafea2 Significantly increase timeout to see if it makes a difference for Bug 814535 and bug 774014 - Intermittent test_0203_app_launch_apply_update.js, test_0203_app_launch_apply_update_svc.js Intermittent test_0201_app_launch_apply_update.js, test_0201_app_launch_apply_update_svc.js | launch application timer expired. r=bbondy 2013-01-28 12:23:27 -08:00
Robert Strong
e7d323cd99 Bug 835090 - Where possible app update xpcshell tests should run on xulrunner. r=bbondy 2013-01-28 12:23:10 -08:00
Dave Hylands
7884b269e2 Bug 831701 - Finish active updates unless the user swtiches to a newer one. Remove stale updates. r=rstrong
Once the user starts to download an update, stick to that update until the user cancels the download and does a "Check Now".

If a newer update is started and a stale update is detected, remove the stale update.

If a download fails due an update being in the applied state, prompt the user to apply it.

If an update was fully downloaded, but interrupted during verification, then don't redownload.
2013-01-25 10:27:49 -08:00
Robert Strong
ae23389930 Possible fix for Bug 814535 and Bug 774014 - Intermittent test_0201_app_launch_apply_update* and test_0203_app_launch_apply_update* | launch application timer expired. r=bbondy 2013-01-12 23:30:11 -08:00
Dave Hylands
1716f2b6c3 Bug 813770 - Fix xpcshell update tests to work with new code. r=rstrong 2013-01-12 05:03:13 +01:00
Marshall Culpepper
8b682ea320 Bug 816306: Part 2 - Report update HTTP errors to Gaia, and accompanying tests. r=fabrice 2013-01-10 18:13:39 +01:00
Dave Hylands
9f0a30d9b0 Bug 785124 - Pt 8 - Fix test_0030_general.js to work when downloaded file goes to sdcard. 2013-01-10 14:46:40 +01:00
Marshall Culpepper
1d3e80011e Bug 817821: Part 2 - Update tests for new B2G download events. r=dhylands 2013-01-08 17:13:32 +01:00
Marshall Culpepper
84c6f6eaab Bug 821412: Part 3 - Initial B2G update tests and smoketests. r=bbondy 2013-01-02 12:41:40 -06:00
Andrew Halberstadt
86516d673d Bug 821919 - Re-enable toolkit/mozapps/update/test/unit/test_0030_general.js, r=rstrong 2012-12-19 12:57:09 -05:00
Robert Strong
e08c361e97 Update xpcshell skip-if reason - Bug 821344 - test_bug595059.js and test_0081_prompt_uiAlreadyOpen.js update tests fails in B2G due to custom nsIUpdatePrompt. r=ahalberstadt, DONTBUILD 2012-12-18 18:44:17 -08:00
Robert Strong
e96e4f573f Bug 821343 - TestAUSHelper doesn't exist for b2g xpcshell_updater tests, r=ahal 2012-12-16 15:53:57 -05:00
Robert Strong
b9f3771e2b Partial fix (all but test_0201_app_launch_apply_update_svc.js) for - Bug 762032 - Intermittent test_0201_app_launch_apply_update.js, test_0201_app_launch_apply_update_svc.js test_0203_app_launch_apply_update_svc.js | WindowsError: [Error 13] The process cannot access the file because it is being used by another process: '...helper.exe'. r=bbondy 2012-12-13 09:43:27 -08:00
Andrew Halberstadt
319f003fc9 Bug 817122 - Disable failing B2G xpcshell tests, enable debugger tests, r=mdas 2012-12-12 16:17:49 -05:00
Robert Strong
0dc65e4c47 Test only change / possible fix for Bug 759639 - Intermittent test_0202_app_launch_apply_update_dirlocked_svc.js | test failed (with xpcshell return code: 0), | pending-service == pending, | exception thrown from do_timeout callback: 2147500036. r=bbondy 2012-12-07 11:03:05 -08:00
Ehsan Akhgari
86d63844d5 Bug 806745 - Part 0: Don't run test_bug497578.js in per-window PB builds 2012-12-06 00:53:33 -05:00
Brian R. Bondy
4d65c39a7a Bug 816111 - Remove appdir dependency for application update tests in xpcshell tests. r=rstrong 2012-11-29 23:26:25 -05:00
Stephen Pohl
4789d84759 2 of 2 - Tests for Bug 813322 - Add ability to control time interval for restart prompt to apply update. r=bbondy 2012-11-28 20:57:11 -08:00
Brian R. Bondy
91c64afae4 Bug 791829 - Tests for resuming a stopped/partial update. r=ehsan 2012-11-06 20:09:50 -05:00
Andres Hernandez
cb594e9b92 Bug 799784 - Replace usages of nsIPrivateBrowsingService.autoStarted with PrivateBrowsingUtils.permanentPrivateBrowsing; r=ehsan 2012-10-24 14:21:33 -06:00
Ryan VanderMeulen
a7934ae4c3 Merge the last PGO-green inbound changeset to m-c. 2012-10-19 21:43:03 -04:00
Robert Strong
e7ef921ac9 Test changes for Bug 774618 - Partner builds don't download complete update if partial fails, or show workaround information if complete fails. r=bbondy 2012-10-19 12:43:15 -07:00
Brian R. Bondy
acce3d9fba Bug 801855 - Tests for MAR downloads will not be accepted if manifest size is different. r=rstrong 2012-10-19 12:43:51 -04:00
Marshall Culpepper
4e8dca8fac Bug 794211: Check for updates after coming online when a check fails because the network is offline. r=bbondy r=rstrong 2012-10-13 13:06:58 -05:00
Ehsan Akhgari
86768ddbe3 Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=rstrong 2012-09-11 22:13:14 -04:00
Ehsan Akhgari
7e8e748717 Bug 789422 - Part 3: Update the unit tests to test for the new behavior; r=rstrong 2012-09-11 14:12:51 -04:00
Mark Capella
f6b3d51d4a Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Toolkits, r=ted, f=gps 2012-08-14 10:06:12 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Matt Brubeck
e49b5dbdd7 Bug 774789 - Add quotes around MOZ_APP_DISPLAYNAME to fix build errors on beta [r=ted] 2012-07-17 12:10:11 -07:00
Ehsan Akhgari
492eece072 Bug 767968 - Increase the amount of time we wait for the helper application to finish running in the updater tests; r=rstrong 2012-07-10 20:13:52 -04:00