Commit Graph
130 Commits
Author SHA1 Message Date
dagasatvik 91d42b2553 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg
2017-08-07 23:57:51 +05:30
Nicolas Ouellet-Payeur 4e15124c49 Bug 1375212 - Wrap thrown strings in Error objects r=eoger,markh
MozReview-Commit-ID: KquBcbNhBEN
2017-07-22 18:55:43 -07:00
Edouard Oger 75b4ce6b59 Bug 1358648 part 3 - Remove Async, Services and XPCOMUtils from util.js. r=markh
MozReview-Commit-ID: 8na204K9cXp
2017-05-02 16:57:37 -04:00
Florian Queze 6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Mark Hammond 36b93a49f7 Bug 1355677 - Make all Sync network requests promise based. r=kitcambridge,rnewman,tcsc
MozReview-Commit-ID: JSwAS4Xd1uy
2017-04-11 23:40:53 +10:00
tiago 23ec6d160f Bug 986501 - Avoid unnecessary compartments on Sync startup r=markh
MozReview-Commit-ID: 8Rr3JD4dfVy
2017-04-13 20:36:08 -03:00
Mayank Srivastav 8eb34f29ea Bug 694162 - Add logging for sync records. r=kit 2017-02-17 23:28:22 +05:30
Jared Wein eb65d6defb Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb
2017-01-12 18:02:08 -05:00
Wes Kocher 5085ed7589 Backed out 14 changesets (bug 1330791) for various android failures a=backout
Backed out changeset eada8de7256f (bug 1330791)
Backed out changeset a3c656a9f3ca (bug 1330791)
Backed out changeset e0cbc754e841 (bug 1330791)
Backed out changeset 49d8016fab12 (bug 1330791)
Backed out changeset 53d4b83ccd22 (bug 1330791)
Backed out changeset b35cbfcd801f (bug 1330791)
Backed out changeset 25a6356de622 (bug 1330791)
Backed out changeset 46f9c247550d (bug 1330791)
Backed out changeset ef7356099bd3 (bug 1330791)
Backed out changeset a5fe483288db (bug 1330791)
Backed out changeset 4902107b7568 (bug 1330791)
Backed out changeset 5b2b2be2e389 (bug 1330791)
Backed out changeset 610ec89e98bb (bug 1330791)
Backed out changeset 631adda26a21 (bug 1330791)

MozReview-Commit-ID: GGUFW29U3TL
2017-01-17 17:06:36 -08:00
Jared Wein 46ffd0bb84 Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb
2017-01-12 18:02:08 -05:00
Jared Wein 0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jared Wein 21841a0523 Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
MozReview-Commit-ID: EjyAssqiQk8
2017-01-10 12:09:02 -05:00
Iris Hsiao f43c6909b5 Backed out changeset 7e0a0bd74199 (bug 1330014) 2017-01-13 11:06:43 +08:00
Jared Wein 08f94f10e4 Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
MozReview-Commit-ID: EjyAssqiQk8
2017-01-10 12:09:02 -05:00
Mark Hammond d6fed9888c Bug 1273343 - make more log noise on resource exceptions and errors. r=tcsc
MozReview-Commit-ID: 6pa8MvoNnwb
2016-08-25 18:33:01 +10:00
Phil Ringnalda 2c3ba0b0c4 Backed out changeset ed6a8987ada4 (bug 1273343) for test_resource.js failures 2016-08-26 00:07:19 -07:00
Mark Hammond ac206c4cde Bug 1273343 - make more log noise on resource exceptions and errors. r=tcsc
MozReview-Commit-ID: 6pa8MvoNnwb
2016-08-25 18:33:01 +10:00
Sumit Tiwari 9f86c8a1b3 Bug 1292995 - Replace Iterator() with Object.{values,entries} in services/; r=gps
MozReview-Commit-ID: 3VEOjAJROld
2016-08-08 22:40:23 -04:00
Mark Hammond 1fb84db651 Bug 1273587 - Change the User-Agent header sent to Sync to include OS information. r=kitcambridge
The custom UA string sent by Sync now includes the "oscpu" portion of the
default UA string. Eg, with this patch my UA string looks like
"Firefox/49.0a1 (Windows NT 6.1; WOW64) FxSync/1.51.0.20160524173017.desktop"
where the value in parenthesis is added by this patch.

MozReview-Commit-ID: 1gfqQoVbO6V
2016-05-31 09:25:10 +10:00
Hector Zhao 7b44a90045 Bug 1242975 - Make services/sync eslintable. r=markh 2016-01-26 23:13:31 +08:00
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