Commit Graph

144 Commits

Author SHA1 Message Date
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
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
Shane Tomlinson
4b8dab2a11 Bug 1146724 - Use a SendingContext for WebChannels. r=MattN/markh 2015-04-24 16:07:33 +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
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
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
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
Hiroyuki Ikezoe
c06c81c0ef Bug 1139254 - Use MockRegistrar in services. r=gps 2015-03-03 19:46:00 -05:00
Zachary Carter
8007600342 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
Zachary Carter
7c62c725d7 Bug 1139657 - Expose a method on FxAccounts for retrieving profile information. r=markh 2015-03-26 01:33:38 -07:00
L. David Baron
ee4217303e Back out changeset 9dce1a90205e (bug 1139657) for B2G emulator xpcshell test failures.
Since this landed, every B2G ICS emulator opt xpcshell run has failed with:
TEST-UNEXPECTED-TIMEOUT | services/fxaccounts/tests/xpcshell/test_accounts.js | Test timed out
DMError: Timeout exceeded for shell call
2015-03-24 21:16:21 -07:00
Zachary Carter
a5b86b8750 Bug 1139657 - Expose a method on FxAccounts for retrieving profile information. r=markh 2015-03-24 16:25:42 -07:00
Ryan Kelly
99a7a88365 Bug 1132293 - Let reliers access derived encryption keys through FxAccountsOAuthClient. r=mhammond 2015-03-09 21:46:00 -04:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Zachary Carter
2c36e4dc5e Bug 1138590 - Create a WebChannel for receiving FxA profile change notifications. r=markh 2015-03-05 11:23:06 -08:00
Mark Hammond
dbbdc949ff Bug 1137459 - avoid sensitive information in the FxA logs. r=ckarlof 2015-03-02 10:02:13 +11:00
Chris Peterson
79115c2bac Bug 1133284 - Remove nonstandard expression closures from services/sync. r=rnewman 2015-01-24 23:50:01 -08:00
Zachary Carter
9c7eebabd4 Bug 1130634 - More consistent error handing in FxAccounts.getOauthToken r=markh
--HG--
extra : rebase_source : 24006d87d3255fac6f0c7dd85f48d95dba42c703
2015-02-13 13:54:15 -08:00
Birunthan Mohanathas
f30cf82b10 Bug 1070709 - Collapse test-only moz.build files under services/ into ancestor moz.build files. r=mshal 2015-02-10 18:47:24 +02:00
Zachary Carter
7e2d72c418 Bug 1129086 - Extend the profile client to allow fetching profile images r=markh 2015-02-05 13:32:04 -08:00
Zachary Carter
3154b578e0 Bug 1127638 - Provide a way to get an OAuth token for a set of desired scopes for the currently logged in user r=markh 2015-02-05 13:31:23 -08:00
jp111
6137a8c380 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r=ted 2015-01-28 06:17:00 -05:00
Mark Hammond
5a5728ae2f Bug 1121329 - fixes to promise handling in FxA and Hawk. r=ckarlof 2015-01-28 10:11:08 +11:00
Mark Hammond
74a33c82cb Backout 316298f580fd (bug 1121329) for xpcshell and bc test failures 2015-01-23 16:31:37 +11:00
Mark Hammond
55b158c344 Bug 1121329 - fixes to promise handling in FxA and Hawk. r=ckarlof
--HG--
extra : rebase_source : 15858779430c2f4348465ac272a0c9f93b1e0986
2015-01-23 12:05:14 +11:00
Drew Willcoxon
a37730838d Bug 1018022 - Improve polling for FxA verification email. r=markh 2015-01-22 16:22:47 -08:00
Chris Karlof
2b262408ae Bug 1098077 - Add pref to disable HTTPS requirement for FxA local dev r=markh 2014-12-12 16:32:17 -08:00
Mark Hammond
d506248633 Bug 1073639 - disable test_client.js on b2g due to excessive run times. r=spenrose 2014-10-16 12:48:22 +11:00
Sam Penrose
a0ff96a82c Bug 1045738 - Allow FxA to sign an assertion while offline if its certificate is viable. r=ferjm 2014-10-07 16:09:54 -07:00
Dave Townsend
13630eb0e0 Bug 1039500: Fix remaining callers of tabbrowser._getTabForBrowser on a CLOSED TREE. r=Unfocused 2014-10-09 16:26:11 -07:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
vladikoff
f3905cbf49 Bug 1071225 - Fix closing the FxAccountsOAuthClient tab with e10s. r=MattN
--HG--
extra : rebase_source : 5ffdd51c674dfc22ac301ab54b317b9219d8e07f
2014-09-23 17:57:00 -07:00
Fernando Jiménez
f066273b0e Bug 1069920 - Firefox Accounts auth dialog does not wait for password. r=spenrose 2014-09-23 19:58:14 +02:00
Shu-yu Guo
59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Sam Penrose
46408a7e60 Bug 1065477 - Bind FxAccountsProfileClientError to global this for B2G. r=ferjm 2014-09-11 16:02:20 -07:00
Sam Penrose
738b9fb2e4 Bug 1064613 - Move server-side account deletion block in _handleGetAssertionError(). r=ferjm 2014-09-08 16:45:03 -07:00
Sam Penrose
2691734865 Bug 1064606 - Update FxAccountsManager tests with Principal. r=ferjm
CLOSED TREE
2014-09-08 16:32:10 -07:00
vladikoff
1aac91b58c Bug 1058424 - Fixes network error tests in the FxA Profile Client r=mattn 2014-08-29 10:25:41 -07:00
Carsten "Tomcat" Book
8fdc266131 merge fx-team to mozilla-central a=merge 2014-08-29 15:13:15 +02:00
vladikoff
8ec0985c48 Bug 1058424 - Adds a module for fetching FxA profile information. r=MattN 2014-08-28 16:10:00 +02:00
Chris Karlof
2df1223171 Bug 1059391 - Add pref to disable caching of Sync authentication credentials. r=markh
This introduces a debugging pref, "services.sync.debug.ignoreCachedAuthCredentials".
This flag allows testers to disable caching of authentication credentials
to make debugging of expired and revoked credentials easier. This will
help expedite any visble auth errors resulting from a expired or revoked
FxA session token, e.g., from resetting or changing the FxA password.
This pref is not set by default.
2014-08-28 17:21:03 -07:00
Bill McCloskey
0f6b688b48 Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Mark Hammond
fe5cb5a31c Bug 1053948 - declare AccountState in fxAccounts. r=gavin 2014-08-19 08:47:37 +10:00
Matthew Noorenberghe
a3dff5bee3 Bug 1047130 - Implement desktop backend to login to FxA via OAuth for Loop. r=vladikoff,ckarlof,mikedeboer
This implements the OAuth authorization phase.
2014-08-18 14:32:34 -07:00