Commit Graph

226 Commits

Author SHA1 Message Date
Gregory Szorc
4f2fb895aa 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
88efe94ba4 Bug 1176642 - Remove unused imports; r=glandium 2015-06-25 12:16:38 -07:00
Fernando Jimenez
1c724eebe8 Bug 1174191 - ./mach storage-server is not working. r=rnewman 2015-06-12 19:04:20 +02:00
Gijs Kruitbosch
c47a30f737 Bug 1166406 - use Object.create in sync code, r=rnewman 2015-05-19 19:45:29 +01:00
Mark Hammond
33ed5e91e5 Bug 1152116 - prevent Sync from spamming the browser console. r=rnewman 2015-05-18 17:34:22 +10:00
Mark Hammond
77cf8b3181 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
ziyunfei
a2bb96ff77 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Mark Hammond
9b4396476a Bug 1153691 - intTestLogging() now adds timestamps and supports param substitution. r=rnewman 2015-04-22 09:27:43 +10:00
Mark Hammond
748a16bbb1 Bug 1152193 - ensure sync/readinglist log directory exists. r=rnewman 2015-04-20 10:00:03 +10:00
Philip Chee
e689cc9f39 Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-04-07 16:09:49 +08:00
Sebastian Hengst
976fb13bd7 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
dcbafd2e5e merge mozilla-inbound to mozilla-central a=merge 2015-03-31 14:43:50 +02:00
Richard Newman
f9564e63f1 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
2b8d5aaf70 Bug 1148933 - Remove old storageservice.js and tests. r=gps 2015-03-30 15:02:51 -07:00
Wes Kocher
132512f817 Backed out changeset 9d80f8548ac9 (bug 1148933) for b2g xpcshell bustage CLOSED TREE 2015-03-30 18:00:10 -07:00
Wes Kocher
450a667772 Backed out changeset b5e71f873231 (bug 1148990) 2015-03-30 18:00:09 -07:00
Richard Newman
fffbc1eac5 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
bb6c9a3474 Bug 1148933 - Remove old storageservice.js and tests. r=gps 2015-03-30 15:02:51 -07:00
Andrew McCreight
4b767927e9 Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Hiroyuki Ikezoe
1781d850fc Bug 1139254 - Use MockRegistrar in services. r=gps 2015-03-03 19:46:00 -05:00
Mike Hommey
6ee628d425 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
Mark Hammond
ee4a5841f6 Bug 1146068 (part 2) - fix log manager to automatically set log level for all logs under its control. r=adw 2015-03-25 16:28:18 +11:00
Geoff Brown
a3e7accefa Bug 1140148 - Update xpcshell test manifests for Android 4.3 emulator; r=dminor 2015-03-19 11:00:58 -06:00
Wes Kocher
50789ffa1a Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Nigel Babu
efd4454ae7 Backout Bug 1132771 for spidermonkey build bustage on CLOSED TREE 2015-03-02 17:13:05 +05:30
Gregory Szorc
6ad26eb327 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.
2015-02-26 11:43:45 -08:00
Tooru Fujisawa
20a8c15d94 Bug 1108382 - Part 11: Do not use non-standard flag argument of String.prototype.replace in services/. r=rnewman 2015-03-01 09:51:33 +09:00
Gregory Szorc
85dc822c42 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.
2015-02-26 11:43:45 -08:00
Mark Hammond
00efdeb6fb Bug 1131410 followup - addressing review comments I missed in part1, r=adw/rnewman 2015-02-26 18:48:11 +11:00
Mark Hammond
818d55afbc 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
61e1ea70cd Backed out changeset cd1f981b5e58 (bug 1131410) for XPC Bustage 2015-02-25 10:41:23 +01:00
Mark Hammond
ea2bdd9221 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
f8f65a77a7 Bug 1133284 - Remove nonstandard expression closures from services/sync. r=rnewman 2015-01-24 23:50:01 -08:00
Brian O'Keefe
eddceb3a00 Bug 870366 - Part 2: Move PREF_JS_EXPORTS to moz.build (easy moves). r=gps 2015-01-20 13:07:03 -05:00
Christoph Kerschbaumer
5b8fcccd7c Bug 1087741: Make JS callers of ios.newChannel call ios.newChannel2 in services/ (r=rnewman,hskupin) 2014-10-24 15:22:14 -07:00
Mark Hammond
55e567417d Bug 1121325 - improve sync logging with FxA. r=rnewman/ckarlof 2015-01-28 10:11:08 +11:00
Mark Hammond
fddb751e53 Bug 1121329 - fixes to promise handling in FxA and Hawk. r=ckarlof 2015-01-28 10:11:08 +11:00
Richard Newman
30a69d9eea Bug 951480 - Disable test_tokenserverclient on Android. a=test-only 2015-01-24 21:38:44 -08:00
Mark Banner
6068121b2a Bug 1099085 - HawkClient, HawkRequest and RESTRequest should support PATCH requests. r=ckarlof 2014-11-17 22:12:26 +00:00
Mike de Boer
705810d059 Bug 1089547: simplify LoopRooms implementation, add support for events. r=Standard8 2014-10-29 14:28:42 +01:00
Georg Fritzsche
ab9e7f8f27 Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-17 17:24:04 +02:00
Carsten "Tomcat" Book
71a4c111cd Backed out changeset 5513b60463b8 (bug 1064333) for XPCshell test failures on a CLOSED TREE 2014-10-21 14:38:40 +02:00
Georg Fritzsche
8c752edd20 Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-15 17:34:53 +02:00
Wes Kocher
0bc6f1b8fb Backed out 4 changesets (bug 1064333) for XPCShell bustage
Backed out changeset 378314f2892c (bug 1064333)
Backed out changeset ccb8a2ac9746 (bug 1064333)
Backed out changeset 3466ed3b9b61 (bug 1064333)
Backed out changeset 553c113c8f4e (bug 1064333)
2014-10-16 13:37:37 -07:00
Georg Fritzsche
320adb5782 Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-16 20:11:03 +02:00
Carsten "Tomcat" Book
2116ef6f77 Backed out changeset 735f5c30d397 (bug 1064333) for XPC Bustage on a CLOSED TREE
--HG--
extra : amend_source : 8b12237f285b03acfe6e18cccc9f8480c6d385c2
2014-10-16 15:03:13 +02:00
Georg Fritzsche
994bf34704 Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-15 17:34:53 +02:00
Andrew Halberstadt
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Ryan VanderMeulen
1fe0a415bd Backed out changesets b08e57dbef4e and 1049cfbf3426 (bug 947044) for various regressions. 2014-09-25 14:32:43 -04:00
Nick Fitzgerald
b4caf18aad Bug 947044 - Part 2: Fix tests that check ReferenceError's message. r=gavin 2014-09-22 16:13:00 +02:00