Commit Graph
110 Commits
Author SHA1 Message Date
Christoph Kerschbaumer 8353ce6c9e Bug 1230221 - Convert JS callsites to use asyncOpen2 within services/ (r=sicking) 2016-01-15 11:39:12 -08:00
Anup Kumar bc2c6c55a6 Bug 1003204: Removed CommonUtils.exceptionStr() in services/sync r=markh r=gfritzsche 2016-01-07 07:09:00 +01:00
Wes Kocher c20083dddc Backed out 4 changesets (bug 1230221, bug 1230220, bug 1229890) for m-e10s(2) permafails in test_window_open_close.html CLOSED TREE
Backed out changeset a1cd28ddbfa2 (bug 1230221)
Backed out changeset 7e89f5020ac7 (bug 1230220)
Backed out changeset 91f6e72fa9f4 (bug 1229890)
Backed out changeset 7e717a810420 (bug 1229890)
2015-12-04 15:58:40 -08:00
Christoph Kerschbaumer 7b7075c0fe Bug 1230221 - Convert JS callsites to use asyncOpen2 within services/ (r=sicking) 2015-12-04 09:40:11 -08:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa 22facfff20 Bug 1207496 - Part 4: Remove use of expression closure from services/sync/. r=gps 2015-09-23 18:40:53 +09: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
Mark Hammond 34776515a3 Bug 1195603 - prevent Sync from blocking app shutdown. r=rnewman 2015-08-31 11:57:25 +10:00
Christoph Kerschbaumer 88c6fa3f53 Bug 1087741: Make JS callers of ios.newChannel call ios.newChannel2 in services/ (r=rnewman,hskupin) 2014-10-24 15:22:14 -07:00
Stephen Gowan 974111a6ed Bug 685944 - Warn if response body doesn't match Content-Length header. r=rnewman 2014-11-04 12:42:59 -08:00
Mark Hammond 07aabd4bcd Bug 1010531 - Prevent async callback from throwing when a callback is made with an error. r=rnewman 2014-05-28 10:00:00 +10: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
Nick Alexander 73255f9e49 Bug 848519 - Part 3: Replace services-common/preferences.js with gre/modules/Preferences.jsm in imports. r=gavin 2013-04-15 12:45:37 -07:00
Richard Newman c50ac180ca Bug 806494 - Fix resource header copying on internal redirect. r=gps 2013-01-04 22:23:50 -08:00
Richard Newman 497b193dae Bug 826086 - Handle errors in asyncOpen. r=gps 2013-01-02 15:40:03 -08:00
Richard Newman 15b3598dd8 Bug 699546 - Log more backoff information: X-Weave-Backoff, Retry-After. r=gps 2012-12-22 11:43:56 -08:00
Richard Newman 38958571ee Bug 806494 - Part 1: additional logging and safety for header copying. r=gps 2012-12-18 11:43:58 -08:00
Richard Newman 46a5ecaace Bug 808750 - More logging and safety in resource callbacks. r=gps 2012-11-05 17:31:12 -08:00
Kyle Huey 76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey c82a2d6fea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey 8078ab712e Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Richard Newman 4f9bbdb0e9 Bug 798430 - Copy our set HTTP headers across channel redirects. r=gps 2012-10-10 11:48:16 -07:00
Gregory Szorc c18ec11359 Merge mozilla-central into services-central 2012-09-18 11:37:04 -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
Allison Naaktgeboren 58b64aef24 Bug 644734; r=gps 2012-09-12 15:08:07 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gregory Szorc 5eb157b9e5 Bug 731494 - Refactor generic code from services/sync into services/common; r=rnewman 2012-04-05 23:26:06 -07:00
Gregory Szorc 246a543a7b Bug 730989 - Refactor identity and authentication in Sync; r=rnewman 2012-03-22 15:49:50 -07:00
Gregory Szorc 4998b5ca40 Bug 704539 - Better handling of HTTP channels in Sync; r=rnewman 2012-01-17 11:51:45 -08:00
Richard Newman a30e4fc05d Bug 690170 - Part 2: clean up Resource and friends now we've found the culprit. r=philikon 2011-10-28 14:43:18 -07:00
Richard Newman 483f04dd06 Bug 690170 - Part 1: Fix channel management to avoid nsIHTTPChannel.responseStatus => NS_ERROR_NOT_AVAILABLE in Sync HTTP requests. r=philikon 2011-10-28 14:43:18 -07:00
Richard Newman accee938cb Bug 685945 - Sync: log a warning if JSON parsing of bodies fails. r=philikon 2011-10-06 01:47:02 -07:00
Richard Newman a09a981984 Bug 672878 - temporary shim to log inconsistent state in ChannelListener.onStopRequest. r=philikon 2011-09-22 10:14:13 -07:00
Philipp von Weitershausen d5cdd620c7 Bug 682449 - Strict mode SyntaxError: redefining delete is deprecated. r=rnewman 2011-08-26 16:39:04 -07:00
Richard Newman c2274d4bad Bug 664865 - More considered handling of node reassignment mid-sync. r=philikon 2011-06-25 14:54:50 +01:00
Philipp von Weitershausen 229e2fb292 Bug 661587 - Don't use the root logger. r=rnewman 2011-06-13 20:42:18 +02:00
Philipp von Weitershausen 22ea6b3488 Bug 662178 - Simplify timed callbacks. r=rnewman 2011-06-06 21:27:36 +02:00
Richard Newman 7fea1fb259 Move Resource.serverTime to AsyncResource, fix comments for AsyncResource. r=philiKON 2011-05-30 19:01:25 -07:00
Richard Newman aafbc961f8 Move async utilities into async.js. Add Async.makeSpinningCallback as a temporary shim for wrapping Cb versions of functions. r=philiKON 2011-05-30 19:01:13 -07:00
Richard Newman d1269997d2 Bug 656708: Channel.URI is undefined. r=philiKON 2011-05-30 14:21:03 -07:00
Philipp von Weitershausen 623c1b8ddb Bug 648364 - Remove dead code. r=rnewman 2011-05-19 18:09:02 -07:00
Philipp von Weitershausen b9e5cfec8c Bug 648364 - Replace custom helpers with XPCOMUtils.jsm. r=rnewman 2011-05-19 18:08:35 -07:00
Philipp von Weitershausen fcdbbd407d Bug 648364 - Replace custom helpers with Services.jsm. r=rnewman 2011-05-19 18:08:07 -07:00
Richard Newman 5f7c62e369 Bug 652182: eliminate Resource status == 0 check missed in landing of Bug 623080. r=philiKON 2011-04-22 12:13:17 -07:00
Richard Newman ce17b7a63f Bug 568156: more Sync UA tweaks. r=philiKON 2011-04-08 13:43:38 -07:00
Richard Newman ebad0b7d80 Bug 568156: Use Sync client version as User-Agent. r=philiKON 2011-04-07 13:55:02 -07:00