Commit Graph
54 Commits
Author SHA1 Message Date
Mark Hammond 0206e9a344 Bug 1236383 (part 1) - remove and rework some Sync/FxA telemetry probes. r=gfritzsche/kitcambridge 2016-01-12 12:21:27 +11:00
Mark Hammond c823e74fe6 Bug 1205111 - return a transient error on 401 fetching info/collections using FxA. r=rnewman 2015-09-28 17:21:42 +10:00
Kit Cambridge b2312e2d40 Bug 1124428 - Add telemetry probes for FxA-related authentication issues. r=markh,vladan 2015-09-15 18:18:04 -07:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Mark Hammond f89958d0ed Bug 1196008 - have test_errorhandler.js use a real server to speed it up. r=rnewman 2015-09-04 08:53:37 +10:00
Mark Hammond eadb83ee62 Bug 1081158 - ensure we report all login related errors. r=rnewman 2015-03-05 16:12:51 +11:00
Mark Hammond e6cc785662 Bug 1131410 followup - addressing review comments I missed in part1, r=adw/rnewman 2015-02-26 18:48:11 +11:00
Mark Hammond 04e886d165 Bug 1131410 - Extract sync's log management so it can be reused by the reading-list back-end. r=adw 2015-02-17 22:06:00 +01:00
Carsten "Tomcat" Book fb7dac74e3 Backed out changeset cd1f981b5e58 (bug 1131410) for XPC Bustage 2015-02-25 10:41:23 +01:00
Mark Hammond ff823adfc5 Bug 1131410 - Extract sync's log management so it can be reused by the reading-list back-end. r=adw 2015-02-25 18:54:59 +11:00
Mark Hammond 6abda1cf7d Bug 985868 - only report prolonged sync errors once per application invocation. r=rnewman 2014-04-17 11:25:44 +10:00
Marco Castelluccio 49606386b2 Bug 988301 - Avoid main-thread IO in Sync code. r=Yoric, r=rnewman 2014-04-07 10:49:32 -04:00
Mark Hammond cd5f8190b9 Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-24 11:44:43 +11:00
Phil Ringnalda b86f082932 Back out b9597187a3d6 (bug 985212) for xpcshell bustage
CLOSED TREE
2014-03-22 21:30:46 -07:00
Mark Hammond e6d24941dc Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-23 14:20:38 +11:00
Phil Ringnalda 88a435919a Back out 61454adff1d6 (bug 985212) for xpcshell bustage 2014-03-20 21:50:21 -07:00
Mark Hammond 87ad192da1 Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-21 14:39:35 +11:00
Mark Hammond 7fa9e1ff69 Bug 967015 - Have bid_identity call Service.startOver on logout. r=rnewman,ckarlof 2014-03-07 15:41:33 +11:00
Mark Hammond 098ead9505 Bug 949695 tests followup - convert more tests to run with both identity managers. 2013-12-20 15:57:26 +11:00
Blair McBride 04d5b1fd1e Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop 2013-08-26 11:55:58 -07:00
Gregory Szorc c77de36e1c Bug 884421 - Automatically select network ports for /services tests; r=rnewman 2013-07-23 13:53:05 -07:00
Gregory Szorc 759c3a5f7a Backout b817406485f8 (bug 884421) for intermittent WinXP failures (bug 896093)
CLOSED TREE
2013-07-22 13:24:45 -07:00
Gregory Szorc 26f1e526b5 Bug 884421 - Automatic network port selection for /services tests; r=rnewman 2013-07-16 17:14:21 -07:00
Ryan VanderMeulen 20a7ca6679 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 0fea3e5ca4 Bug 884421 - Automatic network port selection for /services tests; r=rnewman 2013-07-16 17:14:21 -07:00
Gregory Szorc 8488d0779a Bug 792546 - Part 5: Clean up excessive imports; r=rnewman 2012-09-24 13:46:19 -07:00
Gregory Szorc 34e88ffbe3 Bug 792546 - Part 4: Move utility functions to testing-only JS module; r=rnewman 2012-09-24 13:45:49 -07:00
Gregory Szorc cba1324023 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 33187f468f 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 4dae7b62b4 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 ca9572375c 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 940a690576 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 246a543a7b Bug 730989 - Refactor identity and authentication in Sync; r=rnewman 2012-03-22 15:49:50 -07:00
Richard Newman 067f1aac7d Bug 684783 - Intermittent test_errorhandler.js. r=gps 2012-03-07 17:14:22 -08:00
Murali 15b4584fa1 Bug 720596 - Set both serverURL and clusterURL in test code; utilize constants; r=gps 2012-02-06 09:50:11 -08:00
Richard Newman e535c54c18 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 c9f47175f7 Bug 684798 - Part 5: follow-up for wipeRemote error handling. r=rnewman 2011-10-27 22:25:01 -07:00
Richard Newman 2828c3d65c Bug 692714 - Part 1: handle node reassignment on all storage requests. r=philikon 2011-10-27 22:25:01 -07:00
Richard Newman 77cac27d35 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 f2453c83c9 Bug 684798 - Part 1: Catch server errors for crypto/keys. r=rnewman (reland) 2011-10-27 22:25:00 -07:00
Philipp von Weitershausen c70d7ae616 Back out bug 684798 parts 1 thru 3. 2011-10-20 16:21:17 -07:00
Philipp von Weitershausen 8c55b5f05a 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 37abe10a6f Bug 684798 - Part 1: Catch server errors for crypto/keys. r=rnewman 2011-10-12 13:53:06 -07:00
Richard Newman 158ae6d23a 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 dd18a6d18f 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 b24edade07 Bug 683396 follow-up: fix botched up rebase. r=me 2011-09-07 00:16:25 -07:00
Marina Samuel f3cbe9d472 Bug 683396 follow-up: Fix intermittent test failures 2011-09-06 19:15:28 -07:00
Richard Newman 626f215097 Bug 684783 - Fix intermittent test_errorhandler.js. r=philikon 2011-09-06 13:09:29 -07:00
Marina Samuel 1edd730733 Bug 683396 - Correctly identify server maintenance at login. r=philikon 2011-09-06 09:17:26 -07:00
Marina Samuel 840a84a6e8 Bug 683254 - On startup with no network, sync icon spins endlessly. r=philikon 2011-08-30 15:38:31 -07:00