Commit Graph

3776 Commits

Author SHA1 Message Date
Gijs Kruitbosch
57f1d898a3 Bug 1166406 - use Object.create in sync code, r=rnewman
--HG--
extra : rebase_source : 4b7915d265d0433bbbea2d74ed3e512a3d90be72
2015-05-19 19:45:29 +01:00
Carsten "Tomcat" Book
07a54c9775 Merge mozilla-central to fx-team 2015-05-18 13:52:33 +02:00
Mark Hammond
e960378c4d Bug 1152116 - prevent Sync from spamming the browser console. r=rnewman 2015-05-18 17:34:22 +10:00
Mark Hammond
3c26a0a19f 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
2c872c71ca 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

--HG--
extra : rebase_source : 2f1822d26743480d2377e343288ae0edd2428330
2015-05-18 08:18:44 +02:00
ffxbld
6e000a11db Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-05-11 15:06:43 -04:00
Mark Banner
d8578f5f36 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
78fd08e3f7 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
c5ec66d94f 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(-)

--HG--
rename : browser/base/content/test/general/browser_fxa_profile_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/general/browser_fxa_profile_channel.js => browser/base/content/test/general/browser_fxa_web_channel.js
rename : services/fxaccounts/FxAccountsProfileChannel.jsm => services/fxaccounts/FxAccountsWebChannel.jsm
rename : services/fxaccounts/tests/xpcshell/test_profile_channel.js => services/fxaccounts/tests/xpcshell/test_web_channel.js
2015-04-11 13:23:08 +01:00
Wes Kocher
b3fd288964 Backed out changeset 7ca0864fc405 (bug 1146904) for b2g xpcshell failures
--HG--
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/general/browser_fxa_profile_channel.html
rename : browser/base/content/test/general/browser_fxa_web_channel.js => browser/base/content/test/general/browser_fxa_profile_channel.js
rename : services/fxaccounts/FxAccountsWebChannel.jsm => services/fxaccounts/FxAccountsProfileChannel.jsm
rename : services/fxaccounts/tests/xpcshell/test_web_channel.js => services/fxaccounts/tests/xpcshell/test_profile_channel.js
2015-05-05 19:40:55 -07:00
Mark Hammond
3ef5dc624b Bug 622657 - catch invalid bookmark items and delete them when syncing bookmarks. r=rnewman 2015-05-06 11:42:07 +10:00
Shane Tomlinson
6afb9dff14 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(-)

--HG--
rename : browser/base/content/test/general/browser_fxa_profile_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/general/browser_fxa_profile_channel.js => browser/base/content/test/general/browser_fxa_web_channel.js
rename : services/fxaccounts/FxAccountsProfileChannel.jsm => services/fxaccounts/FxAccountsWebChannel.jsm
rename : services/fxaccounts/tests/xpcshell/test_profile_channel.js => services/fxaccounts/tests/xpcshell/test_web_channel.js
2015-04-11 13:23:08 +01:00
Mark Hammond
d196e4dd52 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
e1db0f779e 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
5d65b28484 Bug 1155142 - Part 3: Refactor MobileIdentityManager. r=ferjm 2015-04-17 19:07:37 +08:00
Georg Fritzsche
85c688eba8 Bug 1149754 - Part 1: Rename TelemetryPing.jsm to TelemetryController.jsm. r=vladan
--HG--
rename : toolkit/components/telemetry/TelemetryPing.jsm => toolkit/components/telemetry/TelemetryController.jsm
rename : toolkit/components/telemetry/tests/unit/test_TelemetryPing.js => toolkit/components/telemetry/tests/unit/test_TelemetryController.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryPingBuildID.js => toolkit/components/telemetry/tests/unit/test_TelemetryControllerBuildID.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryPingShutdown.js => toolkit/components/telemetry/tests/unit/test_TelemetryControllerShutdown.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryPing_idle.js => toolkit/components/telemetry/tests/unit/test_TelemetryController_idle.js
2015-04-27 18:07:58 +02:00
Carsten "Tomcat" Book
cdf101ec43 merge mozilla-inbound to mozilla-central a=merge 2015-04-24 14:37:13 +02:00
Shane Tomlinson
4b8dab2a11 Bug 1146724 - Use a SendingContext for WebChannels. r=MattN/markh 2015-04-24 16:07:33 +10:00
Mark Hammond
d0e06bbecd Bug 1149729 - ignore more Sync login error states. r=adw 2015-04-24 11:49:22 +10:00
Mark Hammond
179b24467e 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
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Mark Hammond
87d69c9432 Bug 1153691 - intTestLogging() now adds timestamps and supports param substitution. r=rnewman 2015-04-22 09:27:43 +10:00
Mark Hammond
5eda97b0fc Bug 1152193 - ensure sync/readinglist log directory exists. r=rnewman 2015-04-20 10:00:03 +10:00
Mark Hammond
a1c3f9294e 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
5c8e4ce59e Merge fx-team to m-c. a=merge 2015-04-07 16:20:54 -04:00
Alessio Placitelli
856b8d5b92 Bug 1147522 - Move SessionRecorder usage from DRS to TelemetryPing. r=gfritzsche 2015-04-03 05:42:00 -04:00
Alessio Placitelli
c18de2c533 Bug 1147522 - Move SessionRecorder to Toolkit/modules. r=gfritzsche 2015-03-26 11:30:00 -04:00
Philip Chee
3a0ac45225 Bug 1139958 - Start using AppConstants.jsm in Toolkit r=mossop 2015-04-07 16:09:49 +08:00
Phil Ringnalda
34d760eb72 Merge m-c to m-i, a=release to defeat a buggy hook 2015-04-04 11:16:18 -07:00
Sebastian Hengst
38474724f0 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
dd88adc52e Bug 1137353 - Make DRS and Telemetry use the ClientID object. r=gfritzsche 2015-04-03 01:54:00 -04:00
Mark Hammond
f6ba77b103 Bug 1139743 (part 3) - Cache OAuth tokens. r=ckarlof 2015-04-03 12:47:00 +11:00
Mark Hammond
778766acf8 Bug 1139743 (part 2) - make the 'current account data' less racey. r=ckarlof 2015-04-03 12:47:00 +11:00
Mark Hammond
ca26750379 Bug 1139743 (part 1) - Use Task.jsm for fetching OAuth tokens. r=ckarlof 2015-04-03 12:47:00 +11:00
Mark Hammond
e318d2821b 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
5d44db928b 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
d03ee825c7 merge mozilla-inbound to mozilla-central a=merge 2015-03-31 14:43:50 +02:00
Wes Kocher
73800cd3df Merge m-c to fx-team a=merge CLOSED TREE 2015-03-30 19:42:25 -07:00
Richard Newman
cd74b28c30 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
7437753aa4 Bug 1148933 - Remove old storageservice.js and tests. r=gps 2015-03-30 15:02:51 -07:00
Wes Kocher
63f81ffac1 Backed out changeset 9d80f8548ac9 (bug 1148933) for b2g xpcshell bustage CLOSED TREE
--HG--
extra : amend_source : 7df4682dceccd5e785a8b45d50761e87713c7fe9
2015-03-30 18:00:10 -07:00
Wes Kocher
def703fa5e Backed out changeset b5e71f873231 (bug 1148990) 2015-03-30 18:00:09 -07:00
Richard Newman
067db356ca 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
884ee4f1ee Bug 1148933 - Remove old storageservice.js and tests. r=gps 2015-03-30 15:02:51 -07:00
ffxbld
1ce662e2cd Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-03-30 11:44:20 -07:00
Andrew McCreight
46dfeaba0b Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Wes Kocher
a3c2aab799 Merge m-c to inbound a=merge CLOSED TREE 2015-03-30 19:39:04 -07:00
Hiroyuki Ikezoe
c06c81c0ef Bug 1139254 - Use MockRegistrar in services. r=gps 2015-03-03 19:46:00 -05:00
Wes Kocher
a0d1a36e44 Merge m-c to fx-team a=merge 2015-03-27 17:19:41 -07:00
Allison Naaktgeboren
55555c52d6 Bug 1124895 2/2- Add password manager usage data to FHR.r=dolske,r=gfritzsche 2015-03-27 12:32:42 -07:00