Commit Graph

3752 Commits

Author SHA1 Message Date
Mark Hammond
8bf5945078 Bug 984172 (part 2) - replace Assert_rejects with Assert.rejects. r=ttaubert 2014-10-17 13:06:39 +11:00
Mark Hammond
29aa0b491c Bug 1073639 - disable test_client.js on b2g due to excessive run times. r=spenrose 2014-10-16 12:48:22 +11:00
Jon Morton
c559dd1ab0 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Wes Kocher
329a0340a9 Merge m-c to inbound a=merge 2014-10-13 19:02:56 -07:00
ffxbld
a85439ff9b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-10-13 13:39:31 -04:00
Sam Penrose
c89aaa6e3b 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
Wes Kocher
d0ddc09587 Merge inbound to m-c a=merge CLOSED TREE 2014-10-10 18:58:06 -07:00
Fernando Jiménez
30f4d65768 Bug 1076708 - [Loop] Close the verification code windows cause the app trying to authenticate infinitely. r=spenrose 2014-10-10 14:38:51 +02:00
Dave Townsend
f70b835a88 Bug 1039500: Fix remaining callers of tabbrowser._getTabForBrowser on a CLOSED TREE. r=Unfocused 2014-10-09 16:26:11 -07:00
Benjamin Smedberg
7633222693 Bug 1053745 more follow up. Make all the predicates match. r=gfritzsche
--HG--
extra : rebase_source : 49f473c81820b31f4f467f491defe43f7b09a29b
2014-10-08 12:17:45 -04:00
Benjamin Smedberg
f5577d1976 Bug 1053745 followup - update to correct property rename from review fixes, r=gfritzsche
--HG--
extra : rebase_source : 78063f0227322fd6f580adfea95039dbcad01fb5
2014-10-08 10:22:28 -04:00
Carsten "Tomcat" Book
81ed9538db merge fx-team to mozilla-central a=merge 2014-10-08 15:53:14 +02:00
Richard Newman
c30ec7b70c Bug 1042951 - Part 4: document new search location. r=bcolloran 2014-10-07 17:52:21 -07:00
Fernando Jiménez
f5cf100a11 Bug 1075070 - [MobileID] First time an app requests a MobileID assertion for an already verified phone fails if it has no previous permission. r=spenrose 2014-10-06 11:30:54 +02:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Georg Fritzsche
50cd4420ec Bug 1079341 - Missing yield on async makeDir in FHR state init. r=gps 2014-10-10 17:21:18 +02:00
Cosmin Malutan
df7e10794e Bug 1072244 - Correctly throw the exceptions in TPS framework. r=hskupin DONTBUILD 2014-10-13 14:25:04 -07:00
Robert Strong
16fda0471e Mac v2 signing - Bug 1075981 - Fix loading libnss3.dylib for weave. r=rnewman 2014-10-03 16:48:58 -04:00
Mathias De Maré
8fc86e01c4 Bug 675397 - Add syncing priority to be able to reshuffle the default syncing order. r=rnewman 2014-10-01 08:44:52 +02:00
Alan K
8c43ca8e63 Bug 1074640 - More tests for bookmarks r=rnewman
From 3f7cc234b5c7a292b06f758bde037192f4afd591 Mon Sep 17 00:00:00 2001
---
 .../cloudsync/tests/xpcshell/test_bookmarks.js     | 64 +++++++++++++++++++++-
 1 file changed, 61 insertions(+), 3 deletions(-)
2014-09-29 23:31:52 -04:00
Ryan VanderMeulen
38ea59f57e Backed out changesets b08e57dbef4e and 1049cfbf3426 (bug 947044) for various regressions. 2014-09-25 14:32:43 -04:00
Ryan VanderMeulen
72911fffa8 Merge m-c to inbound. a=merge
CLOSED TREE
2014-09-24 16:08:33 -04:00
Alan K
1354760690 Bug 1069410 - CloudSync should not be using setItemIndex. r=mak 2014-09-23 09:11:00 +02:00
vladikoff
1ffd93ad81 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
df32426128 Bug 1051746 - [MobileID] Get the proper ICC info by service ID. r=spenrose 2014-09-23 19:58:15 +02:00
Fernando Jiménez
dabda379b7 Bug 1069920 - Firefox Accounts auth dialog does not wait for password. r=spenrose 2014-09-23 19:58:14 +02:00
Vicamo Yang
7d4d4ffdb3 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-21 15:24:43 +08:00
Bill McCloskey
93cba982be Bug 1066447 - Make cloudsync test work in e10s (r=ttaubert) 2014-09-18 08:56:55 -07:00
Ryan VanderMeulen
0c7c1d7689 Merge b2g-inbound to m-c. a=merge 2014-09-17 14:22:12 -04:00
Cosmin Malutan
604931c0b3 Bug 1068011 - Update TPS to use latest Mozmill 2.0.8. r=hskupin a=bustage, testonly DONTBUILD 2014-09-17 12:08:07 +03:00
Cosmin Malutan
73fc4a5801 Bug 1068011 - TPS broken due to 'let' changes in bug 1001090. r=hskupin a=bustage,testonly DONTBUILD 2014-09-17 12:32:32 +02:00
Vicamo Yang
cc05806a50 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-16 21:20:18 +08:00
Nigel Babu
0976c93e76 Merge fx-team to m-c with bustage fix, a=merge 2014-09-16 08:43:45 +05:30
Shu-yu Guo
9baa236495 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Shu-yu Guo
4a62c95f46 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
Mark Hammond
7bee85b853 Bug 1064137 - fix datareporting service so it doesn't initialize a test's policy object. r=gfritzsche 2014-09-16 09:31:13 +10:00
Carsten "Tomcat" Book
04587e0c5b Backed out changeset 9ff2889f236a (bug 1063304) 2014-09-17 13:13:08 +02:00
Nick Fitzgerald
81c814e0ef Bug 947044 - Part 2: Fix tests that check ReferenceError's message. r=gavin 2014-09-22 16:13:00 +02:00
Wes Kocher
b5b95eeb9e Merge m-c to inbound a=merge 2014-09-23 16:48:23 -07:00
Bill McCloskey
635ad76c63 Bug 1069059 - [e10s] Convert isWindowPrivate calls to isBrowserPrivate/isContentWindowPrivate as appropriate (r=mconley,margaret) 2014-09-23 15:48:52 -07:00
Sam Penrose
90c58f9f5f Bug 1065477 - Bind FxAccountsProfileClientError to global this for B2G. r=ferjm 2014-09-11 16:02:20 -07:00
Alan K
4aec75b469 Bug 1052009 - Enable CloudSync in Nightly (mochitest fix). r=gps 2014-09-10 14:54:00 +02:00
Sam Penrose
3ad5ce2330 Bug 1064613 - Move server-side account deletion block in _handleGetAssertionError(). r=ferjm 2014-09-08 16:45:03 -07:00
Richard Newman
010acd53a4 Bug 1064132 - Listen for wake_notification to evaluate whether to sync. r=markh 2014-09-09 17:16:24 -07:00
Ryan VanderMeulen
aa2c4f3af4 Merge inbound to m-c. a=merge 2014-09-09 19:26:59 -04:00
Sam Penrose
578e9b9632 Bug 1064606 - Update FxAccountsManager tests with Principal. r=ferjm
CLOSED TREE
2014-09-08 16:32:10 -07:00
Fernando Jiménez
73834f32c2 Bug 1064303 - After adding new SIM with MSISDN on device, the mobile ID dialog doesn't show up with "Get Assertion" with the new phone number. r=spenrose 2014-09-09 16:09:25 +02:00
Benjamin Smedberg
9b161877bb Bug 1053745 - Add GMP plugin data to FHR, r=gfritzsche
--HG--
extra : rebase_source : d60d6740369f51168e2d176549b9495df5245143
2014-09-05 11:17:00 -04:00
Alan K
046e199a2e Bug 993584 - Initial landing for CloudSync. r=rnewman 2014-09-04 21:44:00 +02:00
Ryan VanderMeulen
52e6657393 Merge inbound to m-c. a=merge 2014-09-03 16:38:57 -04:00
Fernando Jiménez
61266720e7 Bug 1044051 - MobileIdentityClient tests. r=spenrose 2014-09-03 16:21:41 +02:00
Fernando Jiménez
1ba48f3c41 Bug 1045581 - [MobileID] The Mobile ID flow can't be completed with a manually inserted phone number. r=spenrose 2014-09-03 16:21:41 +02:00
Cosmin Malutan
88dd40f94b Bug 1062224 - [tps] Fix test_tabs.js for non-existent testcase pages. r=hskupin DONTBUILD 2014-09-03 13:06:38 +02:00
ffxbld
bd9bb69706 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-09-02 12:54:33 -04:00
Ryan VanderMeulen
12d8b0b468 Merge fx-team to m-c. a=merge 2014-08-30 12:26:22 -04:00
Henrik Skupin
c847015097 Backout of 7cb26c341a4e due to new TPS sync failures 2014-08-29 22:37:44 +02:00
vladikoff
7607aeec4a Bug 1058424 - Fixes network error tests in the FxA Profile Client r=mattn 2014-08-29 10:25:41 -07:00
Carsten "Tomcat" Book
d9df5fe009 merge fx-team to mozilla-central a=merge 2014-08-29 15:13:15 +02:00
vladikoff
acc6f078d4 Bug 1058424 - Adds a module for fetching FxA profile information. r=MattN 2014-08-28 16:10:00 +02:00
Chris Karlof
4faeb7fc5a 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
Carsten "Tomcat" Book
6486c70d50 Merge mozilla-central to mozilla-inbound 2014-08-28 16:13:13 +02:00
Wes Kocher
c0d923d6f3 Merge m-c to fx-team a=merge 2014-08-27 17:07:39 -07:00
Chris Karlof
34ef3af90d Bug 1056523 - Ensure sync credentials are reset during reauth flow. r=markh
This patch addresses a bug in the following scenario:

User has browser 1 connected to sync and open, and resets her password
on browser 2. Eventually the browser detects the need to reauthenticate
the user, and prompts the user. When the user entered her new password,
the browserid_identity module failed to re-derive a new syncKeyBundle
from the new password and happily used the old one. Chaos ensued.

This patch mitigate the problem by calling resetCredentials at the
start of initializeWithCurrentIdentity(), which will clear the
syncKeyBundle, along with other credentials. Previously this
function was only resetting this._shouldHaveSyncKeyBundle.

I also removed a misleading comment about the syncKeyBundle being
cleared when it wasn't.
2014-08-27 16:14:58 -07:00
Cosmin Malutan
cc3b9e54bc Bug 682446 - Wait a little before we trigger the Sync call to be sure elements are ready to be synced. r=hskupin DONTBUILD
---
 services/sync/tps/extensions/tps/resource/tps.jsm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
2014-08-28 11:24:01 +02:00
Florian Quèze
5babadf2b2 Bug 838458 - Fix 'rest.js - setting a property that has only a getter' warnings, r=rnewman. 2014-08-27 16:52:21 +02:00
Birunthan Mohanathas
1df590e949 Bug 1024672 - Part 4: Add workaround to continue providing submission data using DailyCrashesMeasurement. r=gps 2014-08-21 15:43:54 -07:00
Birunthan Mohanathas
3537bce36f Bug 1024672 - Part 3: Remove CrashManager.addSubmission in favor of CrashManager.addSubmission{Attempt,Result}. r=gps 2014-08-21 15:43:50 -07:00
Ed Morley
9e018ab910 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-20 15:14:31 +01:00
Bill McCloskey
149c962f4c Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Gregory Szorc
093d067e47 Bug 1055102 - Properly handle Unicode in Bagheera payloads; r=bsmedberg
It was observed that FHR was sending invalid JSON payloads to the
server. Specifically, JSON payloads contained invalid Unicode strings.

Investigation revealed that the culprint was CommonUtils.convertString()
silently swallowing high bytes. When the Bagheera client went to gzip
the JSON payload, the input buffer into gzip was missing high bytes.

This patch changes the bagheera client to UTF-8 encode strings before
gzip, thus ensuring all data is preserved. A corresponding change was
also added to the mock bagheera server implementation.

Alternatively, we could have changed CommonUtils.convertString() to
be high byte aware. However, many consumers rely on this function.
This patch is written with the intent of being uplifted and the change
performed is targeted at the specific problem.

Tests for Unicode preserving behavior have been added to both the
generic Bagheera client and to FHR. The latter test is arguably
not necessary, but peace of mind is a good thing, especially with
FHR.

See also bug 915850.

--HG--
extra : rebase_source : 4efddea7767c2e5f8cf19df247c3aba07c40eec6
extra : amend_source : ae3b6d89efa54fc9ed1794404476622946ad4b22
2014-08-19 09:12:12 -07:00
Daniel Holbert
c0be729e3a Bug 1055643: Drop "let" keyword to fix JS warning about redeclaring argument, in stripHeaderAttributes(). r=ckarlof 2014-08-19 12:29:34 -07:00
Ed Morley
38ce979839 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-19 14:32:54 +01:00
Mark Hammond
eaf238eb92 Bug 1053948 - declare AccountState in fxAccounts. r=gavin 2014-08-19 08:47:37 +10:00
Matthew Noorenberghe
758efb271c 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
Nathan Froyd
f62e421d13 Bug 1045617 - move services's run_server.py Makefile rules into mach; r=gps 2014-07-30 15:44:13 -04:00
Nathan Froyd
3a53eb687e Bug 1054476 - move INSTALL_TARGETS in services/ Makefiles to EXTRA_{PP_,}JS_MODULES; r=gps 2014-07-28 15:24:01 -04:00
Nathan Froyd
297c5135ce Bug 1054476 - use PREF_JS_EXPORTS in services/ Makefiles; r=gps 2014-07-28 14:42:26 -04:00
Georg Fritzsche
231260ed82 Bug 862563 - Remove implicit acceptance for data reporting notification and notify on first run. r=gps
The data reporting notification was over-complicated. It wasn't
displayed for +24hr after first run and it had a weird, non-required
policy around what constituted acceptance of the policy.

The notification is now shown shortly after first startup.

The logic around "notification accepted" has been greatly simplified by
rolling it into "notification shown." Where we once were checking
whether the notification has been "accepted," we now check whether it
has been displayed. The overly complicated logic around the implicit
acceptance of the policy has also been removed.

The end result is the code for managing the state of the notification is
greatly simplified.
2014-07-09 14:32:29 -07:00
Gregory Szorc
65accb0a5d Bug 1053315 - Catch more errors during upload; r=bsmedberg
If recording FHR data during uploading raised an exception, it could
potentially abort the upload. This would appear to Mozilla as clients
that suddenly stopped using Firefox.

This patch adds explicit exception trapping around event record to
ensure this doesn't happen.

--HG--
extra : rebase_source : 7cd207b08a4f62be55093c71cb56e28832fd39d8
extra : amend_source : 9144ecea16a013370fffa5c2e833af4ec528ef5b
2014-08-13 11:18:22 -07:00
Edgar Chen
2c24ee3882 Bug 843452 - Part 4-8: [MobileIdentityManager] Get {voice|data}Info via MobileConnectionService. r=ferjmoreno 2014-08-11 16:24:27 +08:00
Drew Willcoxon
ad5fd82649 Bug 1009765 - Add GMP plugin crashes to FHR crash reporting (part 2: FHR, toolkit/components/crashes). r=gps 2014-08-08 15:41:07 -07:00
Birunthan Mohanathas
f6e1fa1acb Bug 1048989 - Fix 'useless expression' warnings with MERGED_COMPONENT. r=gps 2014-08-07 21:52:05 -07:00
Nathan Froyd
aa3167382a Bug 1042226 - move DEFINES += -DAB_CD=$(AB_CD) pattern into config.mk; r=mshal 2014-08-01 12:53:05 -04:00
Daniel Holbert
475bbb2fbc Bug 1049035: Don't redeclare arg 'msg', in health report function '_recordProviderError'. r=gps 2014-08-05 22:35:30 -07:00
Mark Hammond
6a1e989c2d Bug 1013064 (part 5) - stop disabling the password engine when MP enabled. r=ttaubert
From 07aa9cc1fcd5479976effe29f6adf5ad5ba7a8f8 Mon Sep 17 00:00:00 2001
2014-06-12 18:19:49 +10:00
Mark Hammond
d59b09a390 Bug 1013064 (part 4) - browserid_identity and sync changes to support FxA credentials in the login manager. r=ckarlof,rnewman
From 9717484083e66b78eedfa14e539d51382aba760f Mon Sep 17 00:00:00 2001
---
 services/sync/modules/browserid_identity.js        | 61 ++++++++++++++++++++--
 services/sync/modules/identity.js                  | 19 +++++++
 services/sync/modules/service.js                   | 20 ++++---
 .../sync/tests/unit/test_browserid_identity.js     | 15 ++++++
 4 files changed, 102 insertions(+), 13 deletions(-)
2014-06-14 14:33:56 +10:00
Mark Hammond
b0f834c2d1 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
6648f5b271 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
59e84677d1 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
Ryan VanderMeulen
35cd2b1e5e Merge m-c to fx-team. a=merge 2014-08-01 16:08:39 -04:00
Vlad Filippov
0e1b00f306 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
Cosmin Malutan
1fdd21cd49 Bug 990509 - Wait a second after tabs opening before finishing the sync operation. r=aeftimie, r=rnewman 2014-07-31 00:54:00 -04:00
Carsten "Tomcat" Book
0489e01147 Merge mozilla-central to mozilla-inbound 2014-07-30 14:10:53 +02:00
Nathan Froyd
13d14daf45 Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Wes Kocher
8d6d0303a3 Merge m-c to fx-team 2014-07-29 17:21:24 -07:00
Wes Kocher
d69661c21a Merge b2g-inbound to m-c a=merge 2014-07-29 16:42:15 -07:00
Gregory Szorc
f8e4b559bd Bug 1014524 - Add HotfixProvider to XPCOM manifest; r=rnewman
--HG--
extra : rebase_source : 09108f61288d86f2739945ffa9efc79b9587c72a
2014-07-29 11:11:51 -07:00
Gregory Szorc
211f26fc75 Bug 1014524 - Report update hotfix results in FHR; r=rnewman
The v20140527.01 update hotfix deposited a JSON file in the profile
directory containing state. This file was purposefully not deleted
during hotfix uninstall so its contents could be later reported in
FHR.

This patch adds that reporting to FHR.

Currently, we only report a subset of the available fields. The
remaining "public" fields could be added easily enough. For now, it is
important that we capture the important ones.

--HG--
extra : rebase_source : 925d6ea04118296108327dc843323b150b87b208
2014-07-25 12:25:06 -07:00
Mike Hommey
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Nathan Froyd
d34942e333 Bug 1044041 - remove now-unnecessary rule from services/healthreport/Makefile.in; r=gps 2014-07-25 11:11:28 -04:00
Alexandre Poirot
f5412abfea Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
ffxbld
15412c0bcf Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-07-21 14:19:15 -07:00
Neil Deakin
dcd3ced492 Bug 1013064, backout e5dfe9801f76, 11f3a97d1d2c, e2374762f521, 91db8acb8d7e, d0050ba0b875 due to sync issues 2014-07-21 09:09:41 -04:00
Fernando Jiménez
fb041fea04 Bug 1044792 - Send MCC and MNC on POST /sms/mt/verify. r=spenrose 2014-07-29 14:27:03 +02:00
Mark Hammond
f49b194318 Bug 1013064 (part 5) - stop disabling the password engine when MP enabled. r=ttaubert
From 07aa9cc1fcd5479976effe29f6adf5ad5ba7a8f8 Mon Sep 17 00:00:00 2001
2014-06-12 18:19:49 +10:00
Mark Hammond
a325946ba2 Bug 1013064 (part 4) - browserid_identity and sync changes to support FxA credentials in the login manager. r=ckarlof,rnewman
From 9717484083e66b78eedfa14e539d51382aba760f Mon Sep 17 00:00:00 2001
---
 services/sync/modules/browserid_identity.js        | 61 ++++++++++++++++++++--
 services/sync/modules/identity.js                  | 19 +++++++
 services/sync/modules/service.js                   | 20 ++++---
 .../sync/tests/unit/test_browserid_identity.js     | 15 ++++++
 4 files changed, 102 insertions(+), 13 deletions(-)
2014-06-14 14:33:56 +10:00
Mark Hammond
ed6aa07b8e 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
1a71740dce 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
Ryan VanderMeulen
33a86ae4f8 Merge fx-team to m-c. a=merge 2014-07-11 16:22:36 -04:00
Fernando Jiménez
4643d65bf1 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
Steven MacLeod
a01e57440c Bug 1035337 - Introduce API to record when the infobar is hidden due to "Never translate this language/site". r=felipe
--HG--
extra : rebase_source : 04dd1e060efad6160997194ba1b128c7f8a5db36
extra : histedit_source : be5f46896497e1bef1aa5ace5850793c4556527d
2014-07-10 18:31:56 -04:00
Fernando Jiménez
8967b7990c Bug 1033238 - Cannot revoke Mobile ID permission. r=jedp 2014-07-11 14:56:57 +02:00
Fernando Jiménez
8c424f261b Bug 1023780 - Ensure that Mobile ID client support the 401/110 error (invalid token) properly. r=jedp 2014-07-11 14:56:56 +02:00
Kartikaya Gupta
35136e5a31 Bug 1036444 - Kill touchenter and touchleave events. r=smaug 2014-07-09 10:27:00 -04:00
Jed Parsons
013dc80b0b Bug 1036198 - rejection not defined in _handleGetAssertionError. r=spenrose 2014-07-08 18:00:25 -07:00
Wes Kocher
8543987c26 Merge m-c to inbound 2014-07-08 20:04:41 -07:00
Fernando Jiménez
4717d50db7 Bug 1022181 - Mobile ID Tests. Part 2: Mobile Identity Service Tests. r=jedp 2014-07-08 19:57:44 +02:00
Fernando Jiménez
7ac428cb8a Bug 1026999 - Mobile ID - SIM change scenario is not working. r=jedp 2014-07-08 19:57:43 +02:00
Steve Workman
1f442e1878 Bug 982816 - Remove extra calls to nextTest in test_hawkrequest.js r=ckarlof 2014-07-08 11:44:03 -07:00
Carsten "Tomcat" Book
611b2eff0f merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Gregory Szorc
2abc4b387d Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium
--HG--
extra : rebase_source : 1cd9e402c507260358af7a93c6fb2fc91c24994b
2014-07-02 16:43:41 -07:00
Gregory Szorc
a8fec952c2 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
Andrew Comminos
0ed1a0f5e1 Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-07-07 18:54:14 +09:00
Mark Banner
70684d8faf Bug 1032017 Remove MOZ_SERVICES_FXACCOUNTS flags as it is no longer necessary. Also fixes test_hawkrequest.js failures in m-c. r=glandium 2014-07-08 07:37:57 +01:00
Steven MacLeod
5ab6cb358b Bug 994707 - Introduce crash submission events and handle them. r=bsmedberg
This introduces a new crash event type for submissions and handles
them in the Crash Manager. These crash submissions will also be counted
in FHR.

--HG--
extra : rebase_source : c37fc86cecc86aea0afdd8cfa7b31295aad3d6f8
2014-07-03 14:04:28 -04:00
Fernando Jiménez
ce714ad144 Bug 1021595 - Set "services.mobileid.forcehttps" to true once the server is https. r=jedp 2014-07-03 11:56:34 +02:00
Sam Penrose
5f887542b6 Bug 1031580 - FxA fires ONLOGIN only for calling RP. r=jedp 2014-07-01 10:31:17 -07:00
Fernando Jiménez
9bb7e62f12 Bug 1022193 - Add a "forceIdSelection" to navigator.getMobileIdAssertion. Part 3: MobileIdentityManager. r=jedp 2014-06-27 01:18:21 +02:00
Fernando Jiménez
7e63b06253 Bug 1023266 - Make the Mobile ID API privileged. Part 2: Fix permission check. r=jedp 2014-06-27 01:18:20 +02:00
Gregory Szorc
aeee093c16 Bug 1029031 - Record default search provider in FHR; r=bsmedberg, MattN
--HG--
extra : rebase_source : 7e3c2688db567bac8760c405d9e9d7d41e8564d9
extra : amend_source : a5f4264ec947ae27e3036018034e0b17bf1e8590
2014-06-25 12:44:00 -07:00
Benjamin Smedberg
3444a997e7 Bug 1017806 - Record and report on optional branches of experiments, so that each experiment doesn't have to re-invent data collection. r=gfritzsche 2014-06-25 15:16:13 -04:00
Jim Blandy
b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Ed Morley
a3397ec842 Merge mozilla-central and fx-team 2014-06-24 17:24:53 +01:00
Ed Morley
1b7a40bcf6 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-06-24 17:02:56 +01:00
Asaf Romano
c318afaf69 Bug 977770 - Count the times users manually adjust the offered translation pair. r=felipe. 2014-06-24 16:53:30 +03:00
Carsten "Tomcat" Book
e4e57eea11 Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE 2014-06-24 12:49:47 +02:00
Asaf Romano
6debe8cddc Bug 973294 - Count the number of times 'Show Original' is used. r=felipe. 2014-06-24 11:41:52 +03:00
Carsten "Tomcat" Book
85e25235e4 Backed out changeset 895eeb7bddb8 (bug 973294) for bc1 test failures 2014-06-24 09:13:34 +02:00
Felipe Gomes
a63fc5c426 Bug 1024757 - Follow up, update example documentation. r=felipe. 2014-06-24 08:45:00 +03:00
Asaf Romano
834aa3ccc5 Bug 973294 - Firefox counts the number of times that users pick 'Show Original'. r=felipe. 2014-06-24 08:36:56 +03:00
Andrew Comminos
3f3031e6fb Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-06-24 18:02:11 +09:00
Ryan VanderMeulen
8f44adceee Merge inbound to m-c. a=merge 2014-06-23 10:42:32 -04:00
Asaf Romano
31c04c3ee5 Bug 977774 - Metric for tracking opts out of Instant Translation. r=felipe. 2014-06-22 12:23:40 +03:00
Wes Kocher
43d38fc9f4 Merge m-c to fx-team 2014-06-19 18:33:19 -07:00
Benoit Jacob
3cd7e34ddb Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Felipe Gomes
9e9e57331a Bug 1024757 - Translation FHR should report missed opportunities due to the detected language not being part of the list of supported languages. r=mdeboer 2014-06-19 13:42:29 -03:00
Michael Brennan
afe1f43e8c Bug 939072: Refactor Sqlite connections to support finalization; r=Yoric
--HG--
extra : rebase_source : 2171ab3b3f7cf654ccc37865f5def9fc7f133e3c
2014-06-11 23:40:06 +02:00
Carsten "Tomcat" Book
6978830fd8 Merge mozilla-central to mozilla-inbound 2014-06-18 14:41:11 +02:00
Mark Hammond
cf8de8e170 Bug 1026359 - FxAccounts will try and log an undefined variable on error. r=jedp 2014-06-18 09:26:06 +10:00
Tim Taubert
7ddc48ebfa Bug 991907 - checkEmailStatus in FxAccounts.jsm doesn't handle errors r=markh 2014-06-16 11:47:45 +02:00
Mark Banner
19c7270342 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
Mark Hammond
7032821a5a Bug 1024812 - unhandled exceptions in hawkclient no longer cause sync to hang. r=rnewman 2014-06-14 11:47:34 +10:00
Ed Morley
cf92330496 Merge mozilla-central and b2g-inbound 2014-06-12 16:02:18 +01:00
Mark Hammond
cb33929743 Bug 1015794 - use Object.create to create services timer objects. r=rnewman 2014-06-12 10:06:47 +10:00
Sam Penrose
fcca7e87d8 Bug 1023463 - [FxA] Leave user logged in after failed RP refresh authentication. r=jedp 2014-06-10 16:38:55 -07:00
Brian Warner
9fcb2bab3b Bug 1021950 - Delete unwrapBKey after we're done with it. r=ckarlof 2014-06-09 11:53:00 -04:00
Mark Hammond
ab8b04c7ed Bug 995599 - prevent services tests hitting the network. r=rnewman
--HG--
extra : rebase_source : f38fefae031f4cbd94215ee61f89a553b1f5c272
2014-06-10 12:02:39 +10:00
Ryan VanderMeulen
d297a26703 Merge m-c to inbound. a=merge 2014-06-09 18:13:50 -04:00
ffxbld
cb593d0a06 Version bump. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release 2014-06-09 11:50:02 -07:00
Sam Penrose
9e06d7e779 Bug 1008901 - Fire 'onlogin' when the account is verified. r=jedp 2014-06-06 10:42:22 -07:00
Fernando Jiménez
24daeb1035 Bug 988469 - MSISDN verification API for privileged apps. Part 4: Mobile ID service. r=markh, jedp 2014-06-07 19:30:19 +02:00
Fernando Jiménez
600988b535 Bug 988469 - MSISDN verification API for privileged apps. Part 2: Make FxA specific stuff generic. r=markh 2014-06-07 19:30:18 +02:00
Sam Penrose
a5c496c317 Bug 1004319 - Handle server-side account changes in Gecko. r=jedp 2014-06-06 08:54:27 -07:00
David Rajchenbach-Teller
cf4ce277ba Bug 1017706 - Make sure that healthreporter.jsm always initiates shutdown, even if it never receives quit-application. r=gps 2014-06-09 12:07:00 -04:00
Mike de Boer
7c46c8794e Bug 1015525: changes to translation prefs are now recorded by FHR. r=rnewman 2014-06-04 15:32:08 +02:00
Steven MacLeod
867194fac2 Bug 978158 - Setup FHR provider for Translation project r=felipe,rnewman
--HG--
rename : browser/components/translation/test/test_cld2.js => browser/components/translation/test/unit/test_cld2.js
rename : browser/components/translation/test/xpcshell.ini => browser/components/translation/test/unit/xpcshell.ini
2014-06-03 18:08:35 +02:00
David Rajchenbach-Teller
a3958bc9b2 Bug 1017706 - Better logging for FHR AsyncShutdown. r=rnewman 2014-06-02 04:28:00 +02:00
Mark Hammond
6f9eaa8600 Bug 1014957 - add telemetry probe to indicate if custom servers are used for sync. r=rnewman 2014-05-30 14:56:25 +10:00
Gijs Kruitbosch
cdec1bcf56 Bug 1011343 - don't log username in sync log, r=markh 2014-05-29 12:47:24 +01:00
Paolo Amadini
09b1551f2c Bug 853549 - Use a JSON storage back-end in the Login Manager, except on Android. r=dolske 2014-01-07 17:29:41 +01:00
Carsten "Tomcat" Book
74c34d7401 Backed out changeset ca4caf0d721c (bug 853549) for valgrind testfailures 2014-05-28 15:53:13 +02:00
Paolo Amadini
ae7450d465 Bug 853549 - Use a JSON storage back-end in the Login Manager, except on Android. r=dolske 2014-01-07 17:29:41 +01:00
Mark Hammond
d6c6fce24b Bug 1010531 - Prevent async callback from throwing when a callback is made with an error. r=rnewman 2014-05-28 10:00:00 +10:00
Mark Hammond
ac6fb3ba21 Bug 1015794 - avoid mutating the prototype of a timer object to prevent warnings. r=rnewman 2014-05-28 09:54:52 +10:00
David Rajchenbach-Teller
accfb99349 Bug 1016389 - Fix uncaught async error in test_healthreporter.js. r=rnewman 2014-05-27 08:06:00 -04:00
Shashank Sabniveesu
abc711486f Bug 1014186 - Remove unused BookmarkJSONUtils from services/sync/tps/extensions/tps/resource/modules/bookmarks.jsm. r=mak 2014-05-22 13:56:00 -04:00
David Rajchenbach-Teller
79fa48bd7b Bug 917883 - Use AsyncShutdown instead of spinning the event loop in healthreporter.jsm. r=gps, r=rnewman 2014-05-22 02:11:00 -04:00
Mark Hammond
1bd8a3fc48 Bug 1013448 - add telemetry probes for sync. r=rnewman 2014-05-27 10:39:51 +10:00
Carsten "Tomcat" Book
677f188d95 Backed out changeset 0acc877be680 (bug 1013448) 2014-05-26 10:11:59 +02:00
Mark Hammond
1de3177e5f Bug 1013448 (part 2) - add telemetry probes for sync. r=rnewman 2014-05-26 09:48:41 +10:00
Cosmin Malutan
d7d2656c2c Bug 982610 - Update TPS to use latest Mozmill 2.0.6. r=hskupin DONTBUILD
--HG--
extra : rebase_source : 6e967421250dd6093c0fcc89dcbd078c0812fcb6
2014-05-22 18:25:50 +02:00
Benjamin Smedberg
09589e247c Bug 959356 try #2 - fix the spelling and type of the isWow64 measurement, r=rnewman
--HG--
extra : rebase_source : 1c07d8481b8152af39fea889504d4fdfef42da53
2014-05-19 14:02:04 -04:00
Mark Hammond
0d7b238760 Bug 1009264 - Strip trailing slash from services.sync.tokenServerURI. r=ckarlof 2014-05-19 09:53:54 +10:00
Sam Penrose
8c969c2c46 Bug 1010623 - sign out when password was reset on web. r=jedp 2014-05-15 16:52:52 -07:00
Mark Hammond
b35270d063 Bug 1006943 - non-sensitive FxA log info is included with sync logs. r=rnewman 2014-05-15 12:00:59 +10:00
Drew Willcoxon
238e1fdbf7 Bug 983313 - Write crash events for plugin crashes and hangs (part 2: FHR). r=bsmedberg,rnewman 2014-05-12 12:00:11 -07:00
Drew Willcoxon
86906537f1 Bug 983313 - Write crash events for plugin crashes and hangs (part 1: main changes). r=bsmedberg 2014-05-12 11:58:18 -07:00
Richard Newman
a8f7e22f44 Bug 965371 - Part 3: new docs for v3 device configuration environment. r=mcomella 2014-05-09 19:19:14 -07:00
Mark Hammond
9bc08f07d4 Bug 1006360 - prevent failures backing up bookmarks from stopping sync completing. r=rnewman 2014-05-09 14:14:34 +10:00
Sam Penrose
d7efba7bac Bug 1004242 - Expose FxAccounts resendVerificationEmail to Gaia. r=jedp 2014-05-07 11:14:05 -07:00
Carsten "Tomcat" Book
90091f7543 merge fx-team to mozilla-central 2014-05-06 14:24:11 +02:00
Asaf Romano
be20723336 tests-bustage fix for bug 981689 (the code relies on the current-version preference being always set, which isn't true for testing-prefs-branches) 2014-05-06 11:43:59 +03:00
Asaf Romano
abc4ff83f5 Bug 981689 - Show a notice to beta users when we turn telemetry on by default on the beta channel - Firefox Desktop (very final fix). r=bsmedberg. 2014-05-06 10:15:20 +03:00
Henrik Skupin
779cf44c82 Bug 1003250 - Disable automatic sync for TPS tests. r=rnewman DONTBUILD 2014-05-05 23:07:52 +02:00
Wes Kocher
8cc4ef2b69 Merge m-c to inbound 2014-05-05 21:15:33 -07:00
Ehsan Akhgari
50f04cbea2 Bug 1005710 - Avoid preprocessing the services JS exports files needlessly; r=mshal 2014-05-05 21:28:55 -04:00
Carsten "Tomcat" Book
697641a848 Merge m-c to fx-team 2014-04-30 15:28:33 +02:00
Mark Hammond
15dd4b6c60 Bug 972100 - avoid an info/collections call as sync starts. r=rnewman 2014-04-30 17:42:51 +10:00
Sam Penrose
71065fac27 Bug 981210 - FxAccountsManager.jsm and consumers: change "accountId" attribute to "email" r=jedp 2014-04-29 14:47:59 -07:00
Fernando Jiménez
fdb5adcfc5 Bug 1027595 - TypeError: deriveHawkCredentials is not a function after bug 1020859. r=jedp 2014-06-21 07:43:39 +01:00