Граф коммитов

388 Коммитов

Автор SHA1 Сообщение Дата
Hector Zhao c79f6b0eef Bug 1242972 - Make services/fxaccounts eslintable. r=markh
--HG--
extra : commitid : BibVRwSbUP9
2016-01-26 23:07:56 +08:00
Shane Tomlinson 2bfbabd666 Bug 1204714 - Open Sync Preferences from Firefox Accounts. r=markh
Listen for an |fxaccounts:sync_preferences| WebChannel message. Open
about:preferences#sync in the tab that sent the message.

--HG--
extra : rebase_source : 8830abd3a3c3e7919e82a158eef3d39abbbf8dbc
2016-01-07 21:41:46 +00:00
Wes Kocher f861f48ea6 Merge m-c to fx-team, a=merge
--HG--
extra : commitid : Es4cn1Rfk4x
2016-01-21 17:37:58 -08:00
aleth 36977bfc4a Bug 1241306 - Disable services/fxaccounts/tests/xpcshell/test_accounts_device_registration.js for Thunderbird. r=markh
--HG--
extra : rebase_source : ad4fe10b36da03402f48c89a864debb66cff9b4f
2016-01-21 12:06:12 +01:00
Kit Cambridge 6b27f0f9b2 Bug 1233298 - Remove query params from the `FXA_HAWK_ERRORS` probe. r=markh
--HG--
extra : commitid : EKdiv4nJq1p
extra : rebase_source : 13b57e2a3b2eefe1920b2a850aa05cdb0d820ff0
2016-01-14 14:32:46 -07:00
Phil Booth 8a5646364e Bug 1227527 - Implement basic FxA device registration. r=markh 2016-01-13 05:55:00 +01:00
Mark Hammond ad3ae4193a Bug 1236383 (part 1) - remove and rework some Sync/FxA telemetry probes. r=gfritzsche/kitcambridge 2016-01-12 12:21:27 +11:00
Mark Hammond b0294367bc Bug 1236651 - don't log complete FxA webchannel messages by default. r=nalexander 2016-01-05 11:10:41 +11:00
Fernando Jimenez f72f6601ec Bug 1229023 - Fetch and expose Firefox Accounts profile data. r=markh 2015-12-02 19:41:27 +01:00
Vlad Filippov 8602e16806 Bug 1218022 - switch to fx_desktop_v2 context for Firefox Accounts. r=markh 2015-11-24 15:46:00 +01:00
Bill McCloskey 4f99faeaed Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Fernando Jimenez a2be7792f3 Bug 1215509 - Allow signUp in FxAccountsClient to use ?key=true. r=markh 2015-10-22 16:18:17 +08:00
Fernando Jimenez 22e4079a60 Bug 1211606 - Only fetch keys when Sync is enabled via 'services.sync.enabled' pref changed from Gaia. r=fabrice 2015-10-15 23:36:58 +02:00
Bill McCloskey c5d5457154 Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
Carsten "Tomcat" Book 08997000eb 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 e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Bill McCloskey 207404ad2d Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Mark Hammond 639d6c6d42 Bug 1207840 - add '?service=sync' to the URL used when disconnecting from Sync. r=zaach 2015-09-30 09:34:37 +10:00
Tooru Fujisawa 1bddf54a42 Bug 1207496 - Part 3: Remove use of expression closure from services/fxaccounts/. r=markh
--HG--
extra : commitid : HCAQePE8WbS
extra : rebase_source : 2d0c293f88060e187f92f437b2b45aa2c50cfb04
2015-09-23 18:40:52 +09:00
Kit Cambridge 053d626c80 Bug 1124428 - Add telemetry probes for FxA-related authentication issues. r=markh,vladan
--HG--
extra : commitid : AgENo3CiQTo
extra : rebase_source : 502d7dd6ac9e0931119df9ee26ab5c10fe7aa037
2015-09-15 18:18:04 -07:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Edouard Oger 5b662cbb9a Bug 999190 - Part 2 - Listen to logout commands from fxa remote server. r=markh 2015-09-01 11:42:00 +02:00
Alexandre Lissy 6fe343742d Bug 1164713 - Return error string from FxAccounts. r=ferjm 2015-08-31 07:54:00 -04:00
Yoshi Huang 4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang 12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Mark Hammond d512c066e4 Bug 1160371 - fix intermittent test_oauth_tokens.js by correctly mocking storage. r=zaach 2015-08-14 10:38:41 +10:00
Mark Hammond 45860c61dd 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 6830b9db61 Bug 1156752 - explicitly list where each FxA field is stored. r=zaach 2015-07-27 08:58:53 +10:00
Mark Hammond a81acd67a8 Bug 1184825 - treat FxAccountsWebChannel as a singleton to avoid creating one per window. r=stomlinson 2015-07-23 08:49:22 +10:00
Fernando Jimenez a5268caf0a Bug 1182071 - Allow System app to fetch Sync keys. r=spenrose 2015-07-21 21:34:37 +02:00
Mark Hammond b6163b6f17 Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-21 11:23:12 +10:00
Ryan VanderMeulen e24be3480e Backed out changeset b29ec4137962 (bug 1157529) for various Gaia test failures.
CLOSED TREE
2015-07-19 22:59:07 -04:00
Mark Hammond 816c3dd0be Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-18 18:47:55 +10:00
Carsten "Tomcat" Book 450eb77790 Backed out changeset be39e54d4dff (bug 1157529) for possible causing windows memory leaks 2015-07-15 09:13:36 +02:00
Mark Hammond 201d63d360 Bug 1157529 - refactor FxA storage to be less lossy and less racey. r=ckarlof 2015-07-15 12:16:21 +10:00
Mark Hammond ef15096890 Bug 1181952 - limit the number of FxA profile requests we make in a short period. r=zaach
--HG--
extra : rebase_source : 110c6bbc01665ea65a6bed94fc958c8cb4bd78c5
2015-07-15 09:50:59 +10:00
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Mark Hammond 4311ba661f Bug 1171253 - enable FxA profile image in Sync preferences pane. r=zaach 2015-06-18 19:28:11 +10:00
Zachary Carter 3c7c8f7471 Bug 1165510 - Add "entrypoint" query param to links to FxA settings pages. r=markh 2015-05-15 15:56:00 -04:00
Bobby Holley 42151b7774 Bug 1165162 - Stop recreating principals from the message manager. r=smaug 2015-05-20 17:08:56 -07:00
Bobby Holley a9e0bc1a93 Bug 1165162 - Fix up test_manager.js to use real principals. rpending=ferjm 2015-05-20 17:08:55 -07: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
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
Mark Hammond b9a255998a Bug 1013064 (part 3) - only migrate data into the loginmgr when it is unlocked. r=ckarlof
From 86c67f9b9081ce905442c86b38575b3422c8dce3 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 |  25 ++++-
 .../tests/xpcshell/test_loginmgr_storage.js        | 113 +++++++++++++++++++++
 2 files changed, 137 insertions(+), 1 deletion(-)
2014-06-18 15:07:41 +10:00
Mark Hammond 15fe2e0f21 Bug 1013064 (part 2) - Store sensitive FxA credentials in the login manager. r=ckarlof,dveditz
From 4a92f9ee1ba35989f82a24bba18806f8616a5be8 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 | 170 ++++++++++++++++++
 services/fxaccounts/FxAccountsCommon.js            |  13 ++
 services/fxaccounts/moz.build                      |   5 +-
 .../tests/xpcshell/test_loginmgr_storage.js        | 196 +++++++++++++++++++++
 services/fxaccounts/tests/xpcshell/xpcshell.ini    |   2 +
 services/sync/modules/util.js                      |  12 +-
 6 files changed, 396 insertions(+), 2 deletions(-)
 create mode 100644 services/fxaccounts/tests/xpcshell/test_loginmgr_storage.js
2014-06-14 14:33:20 +10:00
Mark Hammond 6e95b5893a Bug 1013064 (part 1) - prompt for master-password unlock when interacting with about:accounts. r=ttaubert
From 18f9d132020afee6004e63c9006245e4d3b04e18 Mon Sep 17 00:00:00 2001
---
 browser/base/content/aboutaccounts/aboutaccounts.js | 9 +++++++++
 1 file changed, 9 insertions(+)
2014-06-11 17:34:24 +10:00
Vlad Filippov d39fe7ffd8 Bug 1022064 - Add WebChannel Communication API and FxAccountsOAuthClient API to facilitate Firefox Accounts OAuth authentication. r=MattN, sr=gavin 2014-08-01 01:42:00 -04:00
Mike Hommey 2bab6202af Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Neil Deakin f191a1b74f Bug 1013064, backout e5dfe9801f76, 11f3a97d1d2c, e2374762f521, 91db8acb8d7e, d0050ba0b875 due to sync issues 2014-07-21 09:09:41 -04:00
Mark Hammond 12436672a3 Bug 1013064 (part 3) - only migrate data into the loginmgr when it is unlocked. r=ckarlof
From 86c67f9b9081ce905442c86b38575b3422c8dce3 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 |  25 ++++-
 .../tests/xpcshell/test_loginmgr_storage.js        | 113 +++++++++++++++++++++
 2 files changed, 137 insertions(+), 1 deletion(-)
2014-06-18 15:07:41 +10:00
Mark Hammond e520f78577 Bug 1013064 (part 2) - Store sensitive FxA credentials in the login manager. r=ckarlof
From 4a92f9ee1ba35989f82a24bba18806f8616a5be8 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 | 170 ++++++++++++++++++
 services/fxaccounts/FxAccountsCommon.js            |  13 ++
 services/fxaccounts/moz.build                      |   5 +-
 .../tests/xpcshell/test_loginmgr_storage.js        | 196 +++++++++++++++++++++
 services/fxaccounts/tests/xpcshell/xpcshell.ini    |   2 +
 services/sync/modules/util.js                      |  12 +-
 6 files changed, 396 insertions(+), 2 deletions(-)
 create mode 100644 services/fxaccounts/tests/xpcshell/test_loginmgr_storage.js
2014-06-14 14:33:20 +10:00
Fernando Jiménez f40d884f09 Bug 1028398 - FxA will silently provide user's email to privileged apps in 2.0. Part 2: Trigger forceAuth when new privileged app tries to get a FxA assertion. r=jedp" 2014-07-11 16:13:32 +02:00
Jed Parsons 013b94f495 Bug 1036198 - rejection not defined in _handleGetAssertionError. r=spenrose 2014-07-08 18:00:25 -07:00
Gregory Szorc 04d5343419 Bug 1033836 - Rename services-common to services/common; rs=rnewman
The upcoming build system patches don't support hypthens in path names.
Changing this for that reason is kind of silly, but it's the easiest
way. Besides, nothing else uses hyphens in directory names.

--HG--
extra : rebase_source : 42dda2b1f16a3c0bfe17397a70092362e400530f
2014-07-02 16:49:36 -07:00
Sam Penrose e8b7d231d3 Bug 1031580 - FxA fires ONLOGIN only for calling RP. r=jedp 2014-07-01 10:31:17 -07:00
Carsten "Tomcat" Book c720055e6d Merge mozilla-central to mozilla-inbound 2014-06-18 14:41:11 +02:00
Mark Hammond 975c808fd7 Bug 1026359 - FxAccounts will try and log an undefined variable on error. r=jedp 2014-06-18 09:26:06 +10:00
Tim Taubert 0c2ddde4ae Bug 991907 - checkEmailStatus in FxAccounts.jsm doesn't handle errors r=markh 2014-06-16 11:47:45 +02:00
Mark Banner 59a1c3ac3e Bug 1020859 Part 1 - Make HawkClient return all the response details for a request, and make deriveHawkCredentials common code. r=jparsons 2014-06-18 10:42:15 +01:00
Sam Penrose cbc6e10aa8 Bug 1023463 - [FxA] Leave user logged in after failed RP refresh authentication. r=jedp 2014-06-10 16:38:55 -07:00
Brian Warner f684b7b882 Bug 1021950 - Delete unwrapBKey after we're done with it. r=ckarlof 2014-06-09 11:53:00 -04:00
Mark Hammond 783db8b7f4 Bug 995599 - prevent services tests hitting the network. r=rnewman
--HG--
extra : rebase_source : f38fefae031f4cbd94215ee61f89a553b1f5c272
2014-06-10 12:02:39 +10:00
Sam Penrose d91bae5b76 Bug 1008901 - Fire 'onlogin' when the account is verified. r=jedp 2014-06-06 10:42:22 -07:00
Sam Penrose 3765b1483d Bug 1004319 - Handle server-side account changes in Gecko. r=jedp 2014-06-06 08:54:27 -07:00
Sam Penrose 2a838b8dff Bug 1010623 - sign out when password was reset on web. r=jedp 2014-05-15 16:52:52 -07:00
Mark Hammond 57de1ea9c6 Bug 1006943 - non-sensitive FxA log info is included with sync logs. r=rnewman 2014-05-15 12:00:59 +10:00
Sam Penrose 8ad50c9f3c Bug 1004242 - Expose FxAccounts resendVerificationEmail to Gaia. r=jedp 2014-05-07 11:14:05 -07:00
Sam Penrose ba8ef55ac1 Bug 981210 - FxAccountsManager.jsm and consumers: change "accountId" attribute to "email" r=jedp 2014-04-29 14:47:59 -07:00
Ed Morley 1c7287b8b1 Merge latest green b2g-inbound changeset and mozilla-central 2014-04-29 17:34:22 +01:00
Mark Hammond 9d206b88cb Bug 992371 - avoid 'A promise chain failed to handle a rejection' errors using FxAccounts. r=jedp 2014-04-29 08:46:14 +10:00
Sam Penrose 1b13d3fab5 Bug 1000395 - Do not sign user out at start of refreshAuth. r=jedp 2014-04-28 11:45:58 -07:00
Sam Penrose 1a8e07ee0b Bug 1001182 - FxAccountsManager.jsm correctly handles {refreshAuthentication:0} r=jedp 2014-04-28 09:44:36 -07:00
Sam Penrose 75f227f09d Bug 994934 - Find my device can be enabled without logged into FxAccounts. r=jedp 2014-04-22 15:28:18 -07:00
Sam Penrose 583311c132 Bug 983445 - Verification causes logout on device. r=jedp 2014-04-21 16:45:58 -07:00
Nicholas Nethercote ffa2ba1723 Bug 996430 - Remove FxAccountsUtils.jsm. r=ttaubert.
--HG--
extra : rebase_source : 797c0af77bedf9e5c768bd7083dda4f8d80610a9
2014-04-16 20:48:00 -07:00
Mark Hammond 2faebb50f3 Bug 992371 - Avoid promise rejection messages from FxAccounts. r=ttaubert 2014-04-10 17:13:53 +10:00
Mark Hammond 0359dd9f95 Bug 990834 (part 3) - Fix handling of hawk errors. r=ckarlof 2014-04-10 12:08:19 +10:00
Mark Hammond b608d2c829 Bug 990834 (part 2) - Add support/tweak retry and backoff header support to hawk and tokenserverclient. r=rnewman 2014-04-10 12:08:19 +10:00
Chris Karlof 688f07c92e Bug 989549 - Call signOut() in FxAccountsClient.jsm from signOut() in FxAccounts.jsm. r=markh 2014-04-09 16:14:19 -07:00
Ryan VanderMeulen b92aaa2756 Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Sam Penrose e27b4c9859 Bug 967008 - getAccounts should return the account info right away. r=jedp 2014-03-26 09:12:14 -07:00
Mark Hammond 579d31b274 Bug 988051 - lazy-load FxAccountsClient module. r=rnewman 2014-03-26 12:13:46 +11:00
Henrik Skupin 3f627fb88e Bug 982591 - Update TPS to retrieve keys from server instead of hard-coding them. r=warner
--HG--
extra : rebase_source : 2a9449aeca2f28a2bce648971619635b19a4d670
2014-03-21 10:23:15 +01:00
Wes Kocher aa951ea934 Merge m-c to fx-team 2014-03-14 23:19:44 -07:00
Wes Kocher f7a4d641fc Merge inbound to m-c 2014-03-14 22:20:25 -07:00
Chris Karlof b72f0729f2 Bug 983256 - Change the client generated expiration time in FxA assertions to be 'forever'. r=jedp 2014-03-14 14:50:19 -07:00
Jed Parsons 160234bcb9 Bug 978896 - FxA: watch() should get silent assertion if possible. r=ferjm 2014-03-11 17:49:26 -07:00
Henrik Skupin 3fb8a3bb48 Bug 981921 - Allow signin in FxAccountsClient to use '?keys=true'. r=ckarlof
--HG--
extra : rebase_source : 37b0935a103c578895813e1411cffdde0953552e
2014-03-12 22:50:58 +01:00
Chris Karlof a51705c845 Bug 981140 - Make the FxA signup uri pref and path explicitly reference signup. r=markh 2014-03-11 15:58:27 -07:00
Jed Parsons ed60f7b54c Bug 969892 - Fixes and improvements to FxAccounts test suite; r=ttaubert 2014-02-18 09:47:52 -08:00
Mark Hammond 0a65d8c164 Bug 982965 - ensure we fail if getKeys can't get kA or kB. r=ckarlof 2014-03-14 15:22:32 -07:00
Mark Hammond a971dd5975 Bug 972070 - followup to address review comments previously missed. r=jedp 2014-03-03 10:28:30 +11:00
Mark Hammond 808272323f Bug 972070 - improve FxAccounts.jsm state management. r=jedp 2014-03-03 10:20:56 +11:00
Fernando Jiménez 1b16e00aea Bug 977597 - Use FxA production server URI. r=jedp 2014-02-27 19:41:46 +01:00
Sam Penrose c8f20a7b58 Bug 945449 - FxAccountsClient should support auth server's backoff protocol. r=ferjm 2014-02-26 10:11:49 -08:00
Jed Parsons ceb73476f1 Bug 974990 - hawk request to access lang prefs as infrequently as possible. r=rnewman
--HG--
rename : services/common/hawk.js => services/common/hawkclient.js
rename : services/common/tests/unit/test_hawk.js => services/common/tests/unit/test_hawkclient.js
2014-02-25 09:19:47 -08:00
Wes Kocher 0a15971621 Backed out changeset 96fd88a4d311 (bug 974990) for WinXP PGO xpcshell orange
--HG--
rename : services/common/hawkclient.js => services/common/hawk.js
rename : services/common/tests/unit/test_hawkclient.js => services/common/tests/unit/test_hawk.js
2014-02-24 17:21:29 -08:00
Jed Parsons 728329a753 Bug 974990 - hawk request to access lang prefs as infrequently as possible. r=rnewman
--HG--
rename : services/common/hawk.js => services/common/hawkclient.js
rename : services/common/tests/unit/test_hawk.js => services/common/tests/unit/test_hawkclient.js
2014-02-20 18:04:44 -08:00
Jed Parsons 5f0a01570c Bug 963835 - B2G fixes for FxA client handle incorrect capitalization in emails. r=ferjm 2014-01-31 15:21:46 -08:00
Jed Parsons bfb690dddd Bug 963835 - FxA client handle incorrect capitalization in emails. r=rnewman 2014-02-19 08:34:42 -08:00
Fernando Jiménez efb01cca88 Bug 938635 - Implement forceAuthentication for firefox accounts. Part 3: UI glue. r=fabrice 2014-02-19 11:47:11 +01:00
Fernando Jiménez 21321e1ce4 Bug 938635 - Implement forceAuthentication for firefox accounts. Part 2: FxAccountsManager. r=markh 2014-02-19 11:47:11 +01:00
Tim Taubert 9d68f76140 Bug 967197 - "Create Account" and "Sign In" links in Sync preferences should go to separate pages r=markh 2014-02-18 12:05:13 +01:00
Gregory Szorc 7b9f6f570a Bug 972093 - Detect run_next_test() during add_task(); r=ted, rnewman
If an xpcshell test called run_next_test() from inside an add_task(),
bad things would happen. This patch detects that behavior and aborts the
test immediately with an actionable error message.

--HG--
extra : rebase_source : c5cf11070421b95a6fcf476d0a86289a3d0ba73a
extra : amend_source : cec6ad2a751bba01e7d4ecbff0735b39e3326efb
2014-02-12 16:47:29 -08:00
Sam Penrose 643bb4e93e Bug 968929 - Update FXAccountsClient to production server URI. r=jedp 2014-02-11 18:07:26 -08:00
Jed Parsons ebbd34b84b Bug 943521 - Use onepw prototcol in fxa client. r=ckarlof 2014-02-04 22:14:30 -08:00
Ryan VanderMeulen 2905a47b7f Backed out changeset 79b198be3e50 (bug 943521) for xpcshell failures. 2014-02-07 17:55:12 -05:00
Jed Parsons 7deb4b713b Bug 943521 - Use onepw prototcol in fxa client. r=ckarlof 2014-02-04 22:14:30 -08:00
Tim Taubert ccfeb9d238 Bug 967120 - Clean up FxAccounts' public/internal API implementation r=markh 2014-02-04 11:12:37 +01:00
Phil Ringnalda 4124f6c54b Back out 2865fd5e5458 (bug 967120) for xpcshell and browser-chrome bustage 2014-02-03 20:30:45 -08:00
Tim Taubert a587938b11 Bug 967120 - Clean up FxAccounts' public/internal API implementation r=markh 2014-02-03 19:30:47 +01:00
Chris Karlof a7ca3ed75d Bug 966560 - fix bugs with time skew fix in bug 957863; r=jedp 2014-01-31 16:43:36 -08:00
Ryan VanderMeulen da7b749003 Backed out changeset cc1bac015920 (bug 966560) for xpcshell failures. 2014-01-31 21:00:47 -05:00
Mark Hammond 42abfe8c56 Bug 966520 - have sync prefs pane open the new "force sign in" page. r=gavin 2014-01-31 17:27:59 -08:00
Chris Karlof df0a10fece Bug 966560: fix bugs with time skew fix in bug 957863, r=jedp 2014-01-31 16:43:36 -08:00
Jed Parsons 7a1e060cc8 Bug 957863 - Use FxA auth clock skew in hawk, jwcrypto, and sync. r=warner, r=rnewman 2014-01-23 18:04:38 -08:00
Mark Hammond b867c97dfe Bug 966159 - Fix TypeError when trying to unlink account. r=ckarlof 2014-01-30 21:05:23 -08:00
Mark Hammond 56235d724a Bug 965474 - allow for an initial sync on new user signin. r=ckarlof
--HG--
extra : rebase_source : f5fd22db384606112900b2caef11cc7bdc262f98
2014-01-30 19:02:46 -08:00
Gavin Sharp 9c3c787f78 Backed out changeset 00cead8f21d4 (bug 965464, should have been bug 965474)
--HG--
extra : rebase_source : 43997ecb392c716aa147407985b6f823ac087db8
2014-01-30 19:08:08 -08:00
Mark Hammond 26d5aedfa8 Bug 965464 - allow for an initial sync on new user signin. r=ckarlof 2014-01-30 19:02:46 -08:00
Jed Parsons 560cd7a7a1 Bug 962849 - FxAccounts.jsm method to resend verification email; r=markh 2014-01-23 16:52:24 -08:00
Tim Taubert e1ba7e638c Bug 957421 - Keep FxA pref names consistent r=markh,rnewman,nalexander 2014-01-21 14:13:45 +01:00
Fernando Jiménez 0570d258e3 Bug 952063 - Trigger FxAccountsIACHelper 'onlogin', 'onlogout' and 'onverified' events when required. Part 1: Add onverified/onlogin. r=markh 2014-01-22 14:22:59 +01:00
Fernando Jiménez bfc2b73791 Bug 959535 - FxAccountsManager should clear its account cache when FxAccounts performs a logout. r=markh 2014-01-15 13:07:20 +01:00
Fernando Jiménez 89d86a159e Bug 958546 - s/isVerified/verified in all FxAccounts related code. r=markh 2014-01-14 17:00:36 +01:00
Tim Taubert db5adb5385 merge m-c to elm 2013-12-19 15:52:32 +01:00
Mark Hammond 7ba6e606cc dump JSON.stringified error on HAWK.signCertificate error 2013-12-19 16:38:35 +11:00
Brian Warner ff04ea39c5 Bug 949244 - fix getSignedInUser when the email is still unverified and other FxAccounts.jsm improvements. 2013-12-17 15:45:03 +11:00
Jed Parsons 85f83be255 Bug 951118 - TypeError when null account is verified. r=ferjm 2013-12-17 11:14:11 -08:00
Fernando Jiménez 3372829cb9 Bug 950631 - ReferenceError: credentials is not defined in FxAccounts.jsm. r=jedp 2013-12-17 08:48:45 +01:00
Fernando Jiménez 6f4e632c54 Bug 943998 - Need debug and uri pref for FirefoxAccounts. r=markh
--HG--
rename : services/fxaccounts/FxAccountsConsts.js => services/fxaccounts/FxAccountsCommon.js
2013-12-13 12:37:55 +01:00
Fernando Jiménez c9a5febee3 Bug 949526 - FxAccountsManager and B2G implementation. Part 4: Tests. r=markh 2013-12-13 12:25:27 +01:00
Fernando Jiménez e0fba84689 Bug 949526 - FxAccountsManager and B2G implementation. Part 2: UI Glue r=fabrice 2013-12-13 12:25:26 +01:00
Fernando Jiménez 71e468b2a6 Bug 949526 - FxAccountsManager and B2G implementation. Part 1: FxAccountsManager. r=markh 2013-12-13 12:25:26 +01:00
Jed Parsons 471512cdd2 Bug 948212 - Fix FxAccounts.jsm: internal.signOut() is not a function. r=markh 2013-12-09 17:15:30 -08:00
Jed Parsons 66b2173268 Bug 909967 - Firefox Account Signed-in User module. p=warner,spenrose,zcarter,jedp, r=markh 2013-12-05 22:46:12 -08:00
Zachary Carter 983b37578f Bug 935232 - Implement a client for the Firefox Accounts auth server. r=markh 2013-12-02 13:56:24 -08:00