Commit Graph

168 Commits

Author SHA1 Message Date
Mark Hammond
32d720116b Bug 1243594 (part 2) - have rest.js automatically encode the request body as utf-8. r=gfritzsche 2016-02-26 15:46:30 +11:00
Carsten "Tomcat" Book
0a555533a6 merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Mark Goodwin
94b7618b12 Bug 1227956 - Implement Kinto.js OneCRL client r=rnewman 2016-02-09 18:51:08 +00:00
Mark Banner
a18ec30a72 Bug 1246938 - Allow extra headers to be passed via hawk requests. r=markh 2016-02-10 11:21:26 +00:00
Mark Goodwin
09396671d6 Bug 1244776 - Update moz-kinto-client.js to include recent Kinto.js changes r=rnewman
Please see the Kinto.js PR for the storage adapter changes:
https://github.com/Kinto/kinto.js/pull/303

Additions and changes to the Firefox storage adapter tests have been made
accordingly.
2016-02-01 16:11:48 +00:00
Hector Zhao
d0d82170ca Bug 1242965 - Make services/common eslintable. r=rnewman 2016-01-28 15:42:16 +08:00
brendan
b164e5d252 Bug 1237983 - Investigate and remove the Bagheera Client Implementation. r=gfritzsche 2016-01-24 22:33:52 -05:00
Carsten "Tomcat" Book
714bad566f Backed out changeset 1686b901daa4 (bug 1237983) for bustage 2016-01-28 09:36:00 +01:00
brendan
3f5f2273f5 Bug 1237983 - Investigate and remove the Bagheera Client Implementation. r=gfritzsche 2016-01-24 22:33:52 -05:00
Anup Kumar
3b987de266 Bug 1234734 - Replace CommonUtils.stackTrace() with Log.stackTrace(). r=markh 2016-01-07 20:44:00 -05:00
Anup Kumar
88e7a10048 Bug 1003204: Removed test_utils_exceptionStr.js and its entry in xpcshell.ini r=gfritzsche 2015-12-16 09:46:00 +01:00
Anup Kumar
ab52e589d3 Bug 1003204: Removed CommonUtils.exceptionStr() in services/common/ r=gfritzsche 2015-12-16 09:43:00 +01:00
Rémy Hubscher
b405f9e066 Bug 1227877 — loadDump support for Firefox Storage adapter. (r=rnewman) 2015-12-14 11:01:40 +00:00
Tooru Fujisawa
fd9a4d3a09 Bug 1217077 - Remove for-each from services/. r=gps 2015-10-19 03:52:58 +09:00
Mark Goodwin
0778a940a7 Bug 1216749 - Additional kinto client tests (r=rnewman) 2015-10-30 09:02:01 +00:00
Mark Goodwin
7eedfa8b7d Bug 1216749 - Land the Firefox Kinto.js client (r=rnewman)
Kinto.js lives here: https://github.com/Kinto/kinto.js - there is a set of files
(currently in a branch) that allow creation of the jsm included in this patch.

The branch is here: https://github.com/Kinto/kinto.js/tree/212-firefox-entry-point

To create the jsm, run 'npm run dist-fx' in the kinto.js dir
2015-10-30 09:01:58 +00:00
Mark Hammond
4386bc5062 Bug 1214076 - allow TokenServerClient errors to be JSON.stringify'd. r=rnewman 2015-10-15 08:57:31 +11:00
Carsten "Tomcat" Book
d7f143eaad 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
b9e5717f50 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
b5f316de44 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa
1e6eec07d1 Bug 1207496 - Part 1: Remove use of expression closure from services/common/. r=gps 2015-09-23 18:40:52 +09:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Gregory Szorc
0d16ec0cfa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Gregory Szorc
97fe4bc7c7 Bug 1176642 - Remove unused imports; r=glandium 2015-06-25 12:16:38 -07:00
Fernando Jimenez
a47d821378 Bug 1174191 - ./mach storage-server is not working. r=rnewman 2015-06-12 19:04:20 +02:00
Mark Hammond
adebd0ef35 Bug 1152116 - prevent Sync from spamming the browser console. r=rnewman 2015-05-18 17:34:22 +10:00
Mark Hammond
3b4ee9fb65 Bug 1148980 - have success and error log files for Sync and ReadingList based on whether an error record was written to the log. r=rnewman 2015-05-18 17:34:22 +10:00
Mark Hammond
d3263bb995 Bug 1152193 - ensure sync/readinglist log directory exists. r=rnewman 2015-04-20 10:00:03 +10:00
Philip Chee
f0a6022918 Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-04-07 16:09:49 +08:00
Sebastian Hengst
99dc895123 Bug 1151184 - Don't run test_load_modules and bagheera* tests for builds without MOZ_SERVICES_HEALTHREPORT. r=rnewman 2015-04-04 17:37:30 +02:00
Carsten "Tomcat" Book
889e5d30e1 merge mozilla-inbound to mozilla-central a=merge 2015-03-31 14:43:50 +02:00
Richard Newman
2f5577bd2f Bug 1148990 - Don't ship bagheeraclient.js or tokenserverclient.js on Android. r=gps
Neither of these clients are used on Android, and the Bagheera client isn't
used anywhere unless Firefox Health Report is enabled.

This patch conditionalizes their inclusion in services-common, makes the tests
aware, and also tests that they are _not_ present on Android.

Note that some unused test helpers are also omitted.
2015-03-30 15:02:51 -07:00
Richard Newman
0d34766983 Bug 1148933 - Remove old storageservice.js and tests. r=gps 2015-03-30 15:02:51 -07:00
Wes Kocher
c03995a1e1 Backed out changeset 9d80f8548ac9 (bug 1148933) for b2g xpcshell bustage CLOSED TREE 2015-03-30 18:00:10 -07:00
Wes Kocher
5c841d4bbb Backed out changeset b5e71f873231 (bug 1148990) 2015-03-30 18:00:09 -07:00
Richard Newman
3b95a4999d Bug 1148990 - Don't ship bagheeraclient.js or tokenserverclient.js on Android. r=gps
Neither of these clients are used on Android, and the Bagheera client isn't
used anywhere unless Firefox Health Report is enabled.

This patch conditionalizes their inclusion in services-common, makes the tests
aware, and also tests that they are _not_ present on Android.

Note that some unused test helpers are also omitted.
2015-03-30 15:02:51 -07:00
Richard Newman
e42e46994e Bug 1148933 - Remove old storageservice.js and tests. r=gps 2015-03-30 15:02:51 -07:00
Hiroyuki Ikezoe
f4d0829c0f Bug 1139254 - Use MockRegistrar in services. r=gps 2015-03-03 19:46:00 -05:00
Mike Hommey
57fbadfa4f Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Geoff Brown
cd69b10089 Bug 1140148 - Update xpcshell test manifests for Android 4.3 emulator; r=dminor 2015-03-19 11:00:58 -06:00
Mark Hammond
b4148e9df9 Bug 1131410 followup - addressing review comments I missed in part1, r=adw/rnewman 2015-02-26 18:48:11 +11:00
Mark Hammond
6385273c1e 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
1c2c356e52 Backed out changeset cd1f981b5e58 (bug 1131410) for XPC Bustage 2015-02-25 10:41:23 +01:00
Mark Hammond
8862413e7b 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
Chris Peterson
2b734dd130 Bug 1133284 - Remove nonstandard expression closures from services/sync. r=rnewman 2015-01-24 23:50:01 -08:00
Richard Newman
7a77488d40 Bug 951480 - Disable test_tokenserverclient on Android. a=test-only 2015-01-24 21:38:44 -08:00
Mark Banner
79a6ccc331 Bug 1099085 - HawkClient, HawkRequest and RESTRequest should support PATCH requests. r=ckarlof 2014-11-17 22:12:26 +00:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Ryan VanderMeulen
38ea59f57e Backed out changesets b08e57dbef4e and 1049cfbf3426 (bug 947044) for various regressions. 2014-09-25 14:32:43 -04:00
Nick Fitzgerald
81c814e0ef Bug 947044 - Part 2: Fix tests that check ReferenceError's message. r=gavin 2014-09-22 16:13:00 +02:00