Gregory Szorc
ba63b1be2d
Bug 884421 - Automatically select network ports for /services tests; r=rnewman
2013-07-23 13:53:05 -07:00
Gregory Szorc
c2eba8109d
Backout b817406485f8 (bug 884421) for intermittent WinXP failures (bug 896093)
...
CLOSED TREE
2013-07-22 13:24:45 -07:00
Gregory Szorc
49f266f628
Bug 884421 - Automatic network port selection for /services tests; r=rnewman
2013-07-16 17:14:21 -07:00
Ryan VanderMeulen
7e3e2ab547
Backed out 3 changesets (bug 884421) for intermittent xpcshell failures on a CLOSED TREE.
...
Backed out changeset 75b7cf367efb (bug 884421)
Backed out changeset 2264c04671c4 (bug 884421)
Backed out changeset 45c529ffbe90 (bug 884421)
2013-07-18 14:08:18 -04:00
Gregory Szorc
9df4bc1b02
Bug 884421 - Automatic network port selection for /services tests; r=rnewman
2013-07-16 17:14:21 -07:00
Gregory Szorc
57f832b750
Bug 792546 - Part 5: Clean up excessive imports; r=rnewman
2012-09-24 13:46:19 -07:00
Gregory Szorc
4fd177cc88
Bug 792546 - Part 4: Move utility functions to testing-only JS module; r=rnewman
2012-09-24 13:45:49 -07:00
Gregory Szorc
98dea330a4
Bug 787273 - Part 5: Remove the CollectionKeys singleton; r=rnewman
...
CollectionKeys is gone. Instead, we export CollectionKeyManager (the
underlying type) and an instance is available on the Service singleton.
2012-09-14 16:02:33 -07:00
Gregory Szorc
48db52e99d
Bug 787273 - Part 4: Refactor Identity to not be a singleton; r=rnewman
...
Access to IdentityManager functionality now goes through the Service
singleton.
2012-09-14 16:02:33 -07:00
Gregory Szorc
58bcd2801d
Bug 787273 - Part 2: Refactor Resource and Record to not rely on singletons; r=rnewman
...
Resource currently relies on the Identity singleton to perform
authentication. This is bad magic behavior. Resource instances should
authenticate according to the service instance they are associated with.
This patch removes Identity magic from Resource. Everything using
Resource now explicitly assigns an authenticator which comes from
the service instance/singleton. This required API changes to Collection
and Record.
The preferred method to obtain a Resource instance is to call
getResource() on a service instance.
The end result of this patch looks a little weird, especially in test
code. You have things like Service.resource(Service.cryptoKeysURL).
This ugliness will go away when a unified storage service client is
used.
2012-09-14 16:02:32 -07:00
Gregory Szorc
45d3f90cf3
Bug 785225 - Part 9: Refactor engines to not use singletons; r=rnewman
...
Engines now maintain a reference to the service they belong to. This
allows them to obtain references to other engine instances belonging to
that service and that service only.
Stores and trackers now maintain a reference to the engine they belong
to.
Engine managers now maintain a reference back to a service.
The clients singleton has been removed. It now exists as an instance
variable on Service. Parts of ClientsEngine do behave as singletons
(e.g. commands). This will be addressed in future refactoring.
2012-08-29 14:43:41 -07:00
Gregory Szorc
b11d37e791
Bug 785225 - Part 3: Don't expose ErrorHandler as a singleton; r=rnewman
...
Some tests still expect there to only be a single instance of
ErrorHandler for the life of the tests. And, ErrorHandler itself is
pretty tighly coupled with being a singleton because it writes out
changes to prefs, etc. But, it's a step in the right direction.
2012-08-29 14:43:40 -07:00
Gregory Szorc
9849ea91e2
Bug 730989 - Refactor identity and authentication in Sync; r=rnewman
2012-03-22 15:49:50 -07:00
Richard Newman
a7ddb1c96b
Bug 684783 - Intermittent test_errorhandler.js. r=gps
2012-03-07 17:14:22 -08:00
Murali
006d416bc4
Bug 720596 - Set both serverURL and clusterURL in test code; utilize constants; r=gps
2012-02-06 09:50:11 -08:00
Richard Newman
7c04ed981e
Bug 700071 - test_errorhandler.js ends up talking directly to Mozilla sync servers rather than local test harness. r=philikon
2011-11-05 22:52:45 -07:00
Philipp von Weitershausen
65cb3433b7
Bug 684798 - Part 5: follow-up for wipeRemote error handling. r=rnewman
2011-10-27 22:25:01 -07:00
Richard Newman
23637a0e92
Bug 692714 - Part 1: handle node reassignment on all storage requests. r=philikon
2011-10-27 22:25:01 -07:00
Richard Newman
46cba03338
Bug 684798 - Part 2: Sanitize wipeServer and catch all server maintenance errors. r=rnewman (reland)
2011-10-27 22:25:00 -07:00
Richard Newman
cf03e0941e
Bug 684798 - Part 1: Catch server errors for crypto/keys. r=rnewman (reland)
2011-10-27 22:25:00 -07:00
Philipp von Weitershausen
28bd994e45
Back out bug 684798 parts 1 thru 3.
2011-10-20 16:21:17 -07:00
Philipp von Weitershausen
d107d0f5f3
Bug 684798 - Part 2: Sanitize wipeServer and catch all server maintenance errors. r=rnewman
2011-10-12 13:53:13 -07:00
Philipp von Weitershausen
866dfa2c93
Bug 684798 - Part 1: Catch server errors for crypto/keys. r=rnewman
2011-10-12 13:53:06 -07:00
Richard Newman
469d44f93d
Bug 693505 - Sync error muffling causes undesirable lack of logging on error. r=philikon
2011-10-11 08:24:26 -07:00
Philipp von Weitershausen
b7ff350528
Bug 683396 follow-up: fix test fixtures to avoid test hangs on opt builds. r=me
2011-09-07 12:12:46 -07:00
Philipp von Weitershausen
237a4fc46b
Bug 683396 follow-up: fix botched up rebase. r=me
2011-09-07 00:16:25 -07:00
Marina Samuel
fb406c9e6d
Bug 683396 follow-up: Fix intermittent test failures
2011-09-06 19:15:28 -07:00
Richard Newman
6c39f4933e
Bug 684783 - Fix intermittent test_errorhandler.js. r=philikon
2011-09-06 13:09:29 -07:00
Marina Samuel
8e5dedc036
Bug 683396 - Correctly identify server maintenance at login. r=philikon
2011-09-06 09:17:26 -07:00
Marina Samuel
1fd6a5881d
Bug 683254 - On startup with no network, sync icon spins endlessly. r=philikon
2011-08-30 15:38:31 -07:00
Marina Samuel
74221d1653
Bug 578195 - Better description when the server asks for a backoff. r=philikon
...
--HG--
extra : rebase_source : b7ab66f6716fa708861d394320596259166b0652
2011-08-26 16:45:08 -07:00
Marina Samuel
6fb4cf24fb
Bug 659067 - Part 3: Only show network errors for user triggered sync, not for scheduled ones. r=philikon
2011-08-26 14:01:35 -07:00
Marina Samuel
7e731f6953
Bug 659067 - Part 2: Move _syncError to ErrorHandler. r=philikon
2011-08-26 14:01:35 -07:00
Marina Samuel
2b1ebbea33
Bug 659067 - Part 1: Move error handling and logging from Service to ErrorHandler. r=philikon
...
--HG--
rename : services/sync/tests/unit/test_service_filelog.js => services/sync/tests/unit/test_errorhandler_filelog.js
rename : services/sync/tests/unit/test_service_sync_checkServerError.js => services/sync/tests/unit/test_errorhandler_sync_checkServerError.js
2011-08-26 14:01:35 -07:00