Commit Graph

3873 Commits

Author SHA1 Message Date
Mark Hammond
ef6f222329 Bug 1185629 - ensure Sync tests arrange for an auto-selected allowed port for its test servers. r=oeger 2015-08-11 10:58:54 +10:00
ffxbld
e634dfaf18 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-08-10 12:20:42 -07:00
Georg Fritzsche
0396fe89a9 Bug 1180673 - Part 2 - Change the URL for the unified healthreport content to point to the v4 version. r=bsmedberg 2015-07-29 17:04:14 +02:00
Georg Fritzsche
1d8616dce0 Bug 1180673 - Part 1 - Use a different URL pref for healthreport when Unified Telemetry is on and opt-out. r=bsmedberg 2015-07-29 16:59:52 +02:00
Mark Hammond
b629283b04 Bug 1180587 - remove most error handling from browser-syncui now it is shown in the hamburger menu. r=adw 2015-08-06 14:47:31 +10:00
Mark Hammond
590111aca0 Bug 1182740 - treat keypair and certificate as an atomic pair to avoid invalid assertions. r=stomlinson 2015-07-29 16:06:29 +10:00
Mark Hammond
76b3274b9b Bug 1156752 - explicitly list where each FxA field is stored. r=zaach 2015-07-27 08:58:53 +10:00
Riadh Chtara
3dda180bb9 Bug 1134881 - Test sync password timeCreated & timePasswordChanged fields. r=rnewman 2015-07-13 23:02:07 -07:00
Richard Newman
e245a90f60 Bug 1134881 - Sync password timeCreated & timePasswordChanged fields. r=rnewman 2014-10-15 18:56:29 -07:00
Mark Hammond
d00e482615 Bug 1184825 - treat FxAccountsWebChannel as a singleton to avoid creating one per window. r=stomlinson 2015-07-23 08:49:22 +10:00
Carsten "Tomcat" Book
a14f5976fc merge mozilla-inbound to mozilla-central a=merge 2015-07-22 13:59:02 +02:00
Mark Hammond
71d2a2c258 Bug 1182366 - avoid an invalid bookmark from preventing all bookmarks syncing. r=rnewman 2015-07-22 15:10:42 +10:00
Kyle Machulis
a2757b0a33 Bug 1165981 - Mochitests and test plugin for Win64 plugin disabling; r=bsmedberg 2015-07-21 08:55:18 -07:00
Mark Hammond
7db42044ae Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-21 11:23:12 +10:00
Florian Quèze
efdcd3b10a Bug 1184705 - Search A/B testing cohort identifier should be recorded in FHR, r=rnewman. 2015-07-20 18:58:21 +02:00
Fernando Jimenez
82d3c832a5 Bug 1182071 - Allow System app to fetch Sync keys. r=spenrose 2015-07-21 21:34:37 +02:00
Ryan VanderMeulen
a894c66def Backed out changeset a7c3d752bd6a (bug 1184705) for browser_urlbar_search_healthreport.js failures.
CLOSED TREE
2015-07-20 14:24:25 -04:00
Florian Quèze
76812b7f06 Bug 1184705 - Search A/B testing cohort identifier should be recorded in FHR, r=rnewman. 2015-07-20 18:58:21 +02:00
Ryan VanderMeulen
98759a7d0f Backed out changeset b29ec4137962 (bug 1157529) for various Gaia test failures.
CLOSED TREE
2015-07-19 22:59:07 -04:00
Mark Hammond
76340804f7 Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-18 18:47:55 +10:00
Mark Hammond
72797d7c2a Bug 1003708 - Sync token server pref now lives under identity root. r=nalexander 2015-07-16 13:19:10 +10:00
Mark Hammond
e1a300d1a4 Bug 1183934 - only log an error saving JSON if an error actually occurred. r=rnewman 2015-07-16 10:58:02 +10:00
Carsten "Tomcat" Book
c31ad62f2a Backed out changeset be39e54d4dff (bug 1157529) for possible causing windows memory leaks 2015-07-15 09:13:36 +02:00
Mark Hammond
ab002b6c4d Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-15 12:16:21 +10:00
Mark Hammond
2cddbbf892 Bug 1181952 - limit the number of FxA profile requests we make in a short period. r=zaach 2015-07-15 09:50:59 +10:00
Wes Kocher
e6bb333002 Merge m-c to inbound, a=merge CLOSED TREE 2015-07-10 16:20:27 -07:00
Geoff Brown
495b7cbfe1 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Alessio Placitelli
3f98d5c2f0 Bug 1180790 - Stop resetting the client id on FHR opt-out. r=gfritzsche 2015-07-09 04:47:00 +02:00
ffxbld
2997272b35 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-06-29 13:34:04 -07:00
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
Mark Hammond
5a54b34d66 Bug 1171253 - enable FxA profile image in Sync preferences pane. r=zaach 2015-06-18 19:28:11 +10:00
Fernando Jimenez
1c724eebe8 Bug 1174191 - ./mach storage-server is not working. r=rnewman 2015-06-12 19:04:20 +02:00
Richard Newman
61641c3968 Bug 1164660 - Sync more visits. r=mak 2015-06-05 10:59:25 -07:00
Richard Newman
8f614fd8ea Bug 1167827 - Quietly ignore unknown visit codes and invalid visit dates. r=mak 2015-06-05 10:59:24 -07:00
Marco Bonardo
cf670803b3 Bug 1012597 - Part 2: ensure Sync invalidates the Places GUIDs cache when needed. r=rnewman 2015-05-25 17:18:36 +02:00
Phil Ringnalda
ae0515f0a5 Merge f-t to m-c, a=merge 2015-05-23 14:28:07 -07:00
Tim Taubert
e980d4f5c6 Bug 1167502 - Convert CloudSync test r=billm 2015-05-08 21:14:38 +02:00
Marco Bonardo
af4f1dc26b Bug 1166853 - Sync "hangs" when trying to apply a livemark to a reconciled folder. r=rnewman 2015-05-22 19:02:44 +02:00
Zachary Carter
e11322c590 Bug 1165510 - Add "entrypoint" query param to links to FxA settings pages. r=markh 2015-05-15 15:56:00 -04:00
Carsten "Tomcat" Book
967e6f7f03 merge mozilla-inbound to mozilla-central a=merge 2015-05-21 14:56:34 +02:00
Fabrice Desré
a24cc12c53 Bug 1166931 - JS Warning in MobileIdentityManager.jsm r=ferjm 2015-05-20 22:56:43 -07:00
Wes Kocher
80159a0c99 Merge m-c to inbound, a=merge 2015-05-20 18:30:33 -07:00
Bobby Holley
c88c2e4f75 Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Bobby Holley
2ce22777c1 Bug 1165162 - Stop recreating principals from the message manager. r=smaug 2015-05-20 17:08:56 -07:00
Bobby Holley
e6a75535cd Bug 1165162 - Fix up test_manager.js to use real principals. rpending=ferjm 2015-05-20 17:08:55 -07:00
Gijs Kruitbosch
c47a30f737 Bug 1166406 - use Object.create in sync code, r=rnewman 2015-05-19 19:45:29 +01:00
Carsten "Tomcat" Book
91a4321a7c Merge mozilla-central to fx-team 2015-05-18 13:52:33 +02: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
Magnus Melin
5b53cc3a4b Bug 1164658 - disable test_web_channel.js for thunderbird, as it requires weave which thunderbird doesn't have. r=markh
TEST-UNEXPECTED-FAIL | services/fxaccounts/tests/xpcshell/test_web_channel.js | xpcshell return code: 0
TypeError: Cc['@mozilla.org/weave/service;1'] is undefined at resource://gre/modules/FxAccountsWebChannel.jsm:227
2015-05-18 08:18:44 +02:00
Christoph Kerschbaumer
e8ffc95969 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
ffxbld
67bc96e5a4 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-05-11 15:06:43 -04:00
Mark Banner
469aaaa745 Bug 1162495 - When using FxAccountsOAuthClient, unable to specify email parameter to go with action="force_auth". r=MattN 2015-05-08 13:46:52 +01:00
Mark Hammond
50cdacab76 Bug 1160371 - use mock storage in the oauth token test to avoid intermittent orange on b2g. r=zaach 2015-05-08 11:01:00 +10:00
Shane Tomlinson
e7ecf7c13b Bug 1146904: Add the FxAccountsWebChannel to drive Sync
* * *
fix tests
From 6bb486068a8b002f222f4658989968d86df9eff1 Mon Sep 17 00:00:00 2001
---
 .../test/general/browser_fxa_web_channel.html      |   2 +-
 .../test/general/browser_fxa_web_channel.js        | 131 +++++++++++----------
 services/fxaccounts/tests/xpcshell/test_profile.js |  26 ----
 3 files changed, 70 insertions(+), 89 deletions(-)
2015-04-11 13:23:08 +01:00
Wes Kocher
e47ebd8c1d Backed out changeset 7ca0864fc405 (bug 1146904) for b2g xpcshell failures 2015-05-05 19:40:55 -07:00
Mark Hammond
7144844b7a Bug 622657 - catch invalid bookmark items and delete them when syncing bookmarks. r=rnewman 2015-05-06 11:42:07 +10:00
Shane Tomlinson
207da47c51 Bug 1146904: Add the FxAccountsWebChannel to drive Sync
* * *
fix tests
From 6bb486068a8b002f222f4658989968d86df9eff1 Mon Sep 17 00:00:00 2001
---
 .../test/general/browser_fxa_web_channel.html      |   2 +-
 .../test/general/browser_fxa_web_channel.js        | 131 +++++++++++----------
 services/fxaccounts/tests/xpcshell/test_profile.js |  26 ----
 3 files changed, 70 insertions(+), 89 deletions(-)
2015-04-11 13:23:08 +01:00
Mark Hammond
edb8cdbd2d Bug 1151666 - avoid multiple verified email timers from running and avoid 'pending' calls in the test. r=zaach 2015-04-30 17:02:02 +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
Bevis Tseng
2eb26952d0 Bug 1155142 - Part 3: Refactor MobileIdentityManager. r=ferjm 2015-04-17 19:07:37 +08:00
Georg Fritzsche
ea26082224 Bug 1149754 - Part 1: Rename TelemetryPing.jsm to TelemetryController.jsm. r=vladan 2015-04-27 18:07:58 +02:00
Carsten "Tomcat" Book
1a74144837 merge mozilla-inbound to mozilla-central a=merge 2015-04-24 14:37:13 +02:00
Shane Tomlinson
6b33c809e6 Bug 1146724 - Use a SendingContext for WebChannels. r=MattN/markh 2015-04-24 16:07:33 +10:00
Mark Hammond
0abd4d143c Bug 1149729 - ignore more Sync login error states. r=adw 2015-04-24 11:49:22 +10:00
Mark Hammond
9ae02ad421 Bug 1070115 - pass the uid and email address of the current FxA user to the account manage url. r=zaach 2015-04-24 10:51:20 +10:00
Kartikaya Gupta
8ec41da08a Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04: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
Mark Hammond
cb4f226c53 Bug 1151666 - fix intermittent orange by reducing verified timer intervals and always using mock storage. r=zaach 2015-04-14 10:35:48 +10:00
Ryan VanderMeulen
af7e60c85a Merge fx-team to m-c. a=merge 2015-04-07 16:20:54 -04:00
Alessio Placitelli
be05a94f76 Bug 1147522 - Move SessionRecorder usage from DRS to TelemetryPing. r=gfritzsche 2015-04-03 05:42:00 -04:00
Alessio Placitelli
00eef8d8b4 Bug 1147522 - Move SessionRecorder to Toolkit/modules. r=gfritzsche 2015-03-26 11:30:00 -04:00
Philip Chee
e689cc9f39 Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-04-07 16:09:49 +08:00
Phil Ringnalda
c704c52021 Merge m-c to m-i, a=release to defeat a buggy hook 2015-04-04 11:16:18 -07: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
Alessio Placitelli
eadda8a3d3 Bug 1137353 - Make DRS and Telemetry use the ClientID object. r=gfritzsche 2015-04-03 01:54:00 -04:00
Mark Hammond
92921624cf Bug 1139743 (part 3) - Cache OAuth tokens. r=ckarlof 2015-04-03 12:47:00 +11:00
Mark Hammond
7df982bdb6 Bug 1139743 (part 2) - make the 'current account data' less racey. r=ckarlof 2015-04-03 12:47:00 +11:00
Mark Hammond
d9903f871e Bug 1139743 (part 1) - Use Task.jsm for fetching OAuth tokens. r=ckarlof 2015-04-03 12:47:00 +11:00
Mark Hammond
afa5735bce Bug 1146346 - fix sync login when master-password was unlocked by something other than sync. r=ckarlof 2015-04-02 09:51:05 +11:00
Zachary Carter
c7eb99baf5 Bug 1140627: Make FxAccountsCommon.js variable OAUTH_SERVER_ERRNO_OFFSET non-const, to fix JS warning. r=dholbert 2015-03-31 15:01:31 -07:00
Carsten "Tomcat" Book
dcbafd2e5e merge mozilla-inbound to mozilla-central a=merge 2015-03-31 14:43:50 +02:00
Wes Kocher
a2dfd3e7e0 Merge m-c to fx-team a=merge CLOSED TREE 2015-03-30 19:42:25 -07: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
ffxbld
78dfbf6c8b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-03-30 11:44:20 -07:00
Andrew McCreight
4b767927e9 Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Wes Kocher
77420a9c15 Merge m-c to inbound a=merge CLOSED TREE 2015-03-30 19:39:04 -07:00
Hiroyuki Ikezoe
1781d850fc Bug 1139254 - Use MockRegistrar in services. r=gps 2015-03-03 19:46:00 -05:00
Wes Kocher
1f8faf5d0d Merge m-c to fx-team a=merge 2015-03-27 17:19:41 -07:00
Allison Naaktgeboren
feebc2ddab Bug 1124895 2/2- Add password manager usage data to FHR.r=dolske,r=gfritzsche 2015-03-27 12:32:42 -07:00
Ryan VanderMeulen
dbc2e6caa3 Merge m-c to b2g-inbound. a=merge 2015-03-27 12:20:00 -04:00
Zachary Carter
1b7b53b3fb Bug 1139677 - Display the user's FxA profile image in the Sync Pref pane r=markh,rfeeley 2015-03-27 02:37:55 -07: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