Commit Graph

3602 Commits

Author SHA1 Message Date
Mark Banner
6eb2c9598f 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
98316383b5 Bug 1024812 - unhandled exceptions in hawkclient no longer cause sync to hang. r=rnewman 2014-06-14 11:47:34 +10:00
Ed Morley
4e18995ffc Merge mozilla-central and b2g-inbound 2014-06-12 16:02:18 +01:00
Mark Hammond
3436d9c264 Bug 1015794 - use Object.create to create services timer objects. r=rnewman 2014-06-12 10:06:47 +10:00
Sam Penrose
dc3d37d8cb Bug 1023463 - [FxA] Leave user logged in after failed RP refresh authentication. r=jedp 2014-06-10 16:38:55 -07:00
Brian Warner
e4bc1c7502 Bug 1021950 - Delete unwrapBKey after we're done with it. r=ckarlof 2014-06-09 11:53:00 -04:00
Mark Hammond
832cfe431b 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
d4c148c1a1 Merge m-c to inbound. a=merge 2014-06-09 18:13:50 -04:00
ffxbld
d5e7d47bda Version bump. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release 2014-06-09 11:50:02 -07:00
Sam Penrose
c4dc54640b Bug 1008901 - Fire 'onlogin' when the account is verified. r=jedp 2014-06-06 10:42:22 -07:00
Fernando Jiménez
2b7209c4be 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
f896544f4d 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
f8dfde17a3 Bug 1004319 - Handle server-side account changes in Gecko. r=jedp 2014-06-06 08:54:27 -07:00
David Rajchenbach-Teller
0d756e9de3 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
7ee0b3962e Bug 1015525: changes to translation prefs are now recorded by FHR. r=rnewman 2014-06-04 15:32:08 +02:00
Steven MacLeod
35d424f2b6 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
b79f0094d5 Bug 1017706 - Better logging for FHR AsyncShutdown. r=rnewman 2014-06-02 04:28:00 +02:00
Mark Hammond
e8fb573b2b 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
ebabc890cf Bug 1011343 - don't log username in sync log, r=markh 2014-05-29 12:47:24 +01:00
Paolo Amadini
c2db067c01 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
6b04055bd0 Backed out changeset ca4caf0d721c (bug 853549) for valgrind testfailures 2014-05-28 15:53:13 +02:00
Paolo Amadini
5f34b905ab 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
e464cf75f7 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
250befa6d2 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
d94352ccd6 Bug 1016389 - Fix uncaught async error in test_healthreporter.js. r=rnewman 2014-05-27 08:06:00 -04:00
Shashank Sabniveesu
9cf14f5013 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
9f879e7816 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
c3c349ceb3 Bug 1013448 - add telemetry probes for sync. r=rnewman 2014-05-27 10:39:51 +10:00
Carsten "Tomcat" Book
40ecc9513e Backed out changeset 0acc877be680 (bug 1013448) 2014-05-26 10:11:59 +02:00
Mark Hammond
99cd8a4ffb Bug 1013448 (part 2) - add telemetry probes for sync. r=rnewman 2014-05-26 09:48:41 +10:00
Cosmin Malutan
2018f6f0f5 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
abfb936018 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
bfc84296e5 Bug 1009264 - Strip trailing slash from services.sync.tokenServerURI. r=ckarlof 2014-05-19 09:53:54 +10:00
Sam Penrose
042ab281b5 Bug 1010623 - sign out when password was reset on web. r=jedp 2014-05-15 16:52:52 -07:00
Mark Hammond
8213b883dc Bug 1006943 - non-sensitive FxA log info is included with sync logs. r=rnewman 2014-05-15 12:00:59 +10:00
Drew Willcoxon
37cce7bee9 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
97246d948a 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
d6fda46667 Bug 965371 - Part 3: new docs for v3 device configuration environment. r=mcomella 2014-05-09 19:19:14 -07:00
Mark Hammond
694fa83caa Bug 1006360 - prevent failures backing up bookmarks from stopping sync completing. r=rnewman 2014-05-09 14:14:34 +10:00
Sam Penrose
a8be0eb5da Bug 1004242 - Expose FxAccounts resendVerificationEmail to Gaia. r=jedp 2014-05-07 11:14:05 -07:00
Carsten "Tomcat" Book
b4b2c06d25 merge fx-team to mozilla-central 2014-05-06 14:24:11 +02:00
Asaf Romano
c8c5cf6767 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
d78e31bbd3 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
a37a7d089b Bug 1003250 - Disable automatic sync for TPS tests. r=rnewman DONTBUILD 2014-05-05 23:07:52 +02:00
Wes Kocher
570c41e98b Merge m-c to inbound 2014-05-05 21:15:33 -07:00
Ehsan Akhgari
4c3acbbb4f Bug 1005710 - Avoid preprocessing the services JS exports files needlessly; r=mshal 2014-05-05 21:28:55 -04:00
Carsten "Tomcat" Book
cde537b758 Merge m-c to fx-team 2014-04-30 15:28:33 +02:00
Mark Hammond
0b36e5d6bc Bug 972100 - avoid an info/collections call as sync starts. r=rnewman 2014-04-30 17:42:51 +10:00
Sam Penrose
8dfdb2f152 Bug 981210 - FxAccountsManager.jsm and consumers: change "accountId" attribute to "email" r=jedp 2014-04-29 14:47:59 -07:00
Fernando Jiménez
7746ac6a1d Bug 1027595 - TypeError: deriveHawkCredentials is not a function after bug 1020859. r=jedp 2014-06-21 07:43:39 +01:00
Ed Morley
ec7d86a49e Merge mozilla-central and fx-team 2014-04-29 18:24:19 +01:00
Ed Morley
ce8472e863 Merge latest green b2g-inbound changeset and mozilla-central 2014-04-29 17:34:22 +01:00
Wes Kocher
25702579e7 Merge m-c to fx-team 2014-04-28 16:30:10 -07:00
Wes Kocher
262b4fb1ca Merge fx-team to m-c 2014-04-28 16:20:24 -07:00
Mark Hammond
9bcb6d5b0b 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
5e18eb066c Bug 1000395 - Do not sign user out at start of refreshAuth. r=jedp 2014-04-28 11:45:58 -07:00
ffxbld
8714c49598 Version bump. CLOSED TREE NO BUG a=release 2014-04-28 14:18:37 -04:00
Asaf Romano
888a277a59 Bug 981689 (Show a notice to beta users when we turn telemetry on by default on the beta channel) - For the new channel-override preference, use UpdateChannel.jsm rather than nsIXULRuntime so that it's easier to QA the feature by hacking install.js. As part of that, add a new argument to UpdateChannel.js for excluding partners. r=bsmbedberg. 2014-04-28 17:04:51 +03:00
Sam Penrose
17ef90f9f4 Bug 1001182 - FxAccountsManager.jsm correctly handles {refreshAuthentication:0} r=jedp 2014-04-28 09:44:36 -07:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Irving Reid
69a9e55be6 Bug 966674: #3 Add parameter substitution in log messages; r=gps,rnewman 2014-04-29 10:09:29 -04:00
Irving Reid
8797f73681 Bug 966674: #2 Move exceptionStr() and stackTrace() from utils.js to Log.jsm; r=gps,rnewman 2014-04-29 10:09:27 -04:00
Drew Willcoxon
fa13495992 Bug 975786 - Add FHR search source for about:newtab. r=rnewman 2014-04-24 19:09:18 -07:00
Sam Penrose
213c13e778 Bug 994934 - Find my device can be enabled without logged into FxAccounts. r=jedp 2014-04-22 15:28:18 -07:00
Sam Penrose
98097b9dd7 Bug 983445 - Verification causes logout on device. r=jedp 2014-04-21 16:45:58 -07:00
Carsten "Tomcat" Book
c55de21cc3 merge fx-team to mozilla-central 2014-04-17 12:49:25 +02:00
Carsten "Tomcat" Book
3e5d12c5f8 merge mozilla-inbound ot mozilla-central 2014-04-17 12:47:30 +02:00
Mark Hammond
c97626cc7f Bug 985868 - only report prolonged sync errors once per application invocation. r=rnewman 2014-04-17 11:25:44 +10:00
Nicholas Nethercote
b3fc34c7ef Bug 996430 - Remove FxAccountsUtils.jsm. r=ttaubert.
--HG--
extra : rebase_source : 797c0af77bedf9e5c768bd7083dda4f8d80610a9
2014-04-16 20:48:00 -07:00
Henrik Skupin
c606a4119a Bug 996027 - Ensure that TPS always fakes login into Weave. r=rnewman DONTBUILD 2014-04-14 18:22:23 +02:00
Ryan VanderMeulen
f7bb27fea0 Backed out changeset 68ba8f6f4f03 (bug 983445) for suspicion of causing xpcshell timeouts in test_browserid_identity.js. 2014-04-16 15:14:42 -04:00
Sam Penrose
5598f89ca5 Bug 983445 - Verification causes logout on device. r=jedp 2014-04-15 16:05:16 -07:00
Mark Hammond
f660f76943 Bug 992371 - Avoid promise rejection messages from FxAccounts. r=ttaubert 2014-04-10 17:13:53 +10:00
Roberto A. Vitillo
fd71acaf46 Bug 993468 - TypeError: callback is undefined in jsonSave(). r=rnewman 2014-04-13 14:28:20 -04:00
Ed Morley
73c827f7b3 Merge latest green inbound changeset and mozilla-central 2014-04-10 17:55:29 +01:00
Henrik Skupin
7936999b7f Bug 992198 - TPS.Sync() fails for special options like 'wipeRemote' if the user is not logged in yet. r=jgriffin DONTBUILD
--HG--
extra : rebase_source : d4ff28171ebdd7d2a23e7cc395d7087831d30f96
2014-04-09 23:35:57 +02:00
Mark Hammond
f59a4e6887 Bug 985145 - make node reassignment work correctly with FxA. r=rnewman 2014-04-10 12:18:24 +10:00
Mark Hammond
e2705bdbf4 Bug 990834 (part 3) - Fix handling of hawk errors. r=ckarlof 2014-04-10 12:08:19 +10:00
Mark Hammond
bc93fc2b9d 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
Mark Hammond
1cfe00f9c1 Bug 990834 (part 1) - minor refactor of hawk tests. r=ckarlof 2014-04-10 12:08:18 +10:00
Marco Castelluccio
8a53b11c8e Bug 993173 - Use encoding option in readJSON. r=Yoric 2014-04-08 04:47:00 +02:00
Marco Castelluccio
6924f0bb5f Bug 988301 - Avoid main-thread IO in Sync code. r=Yoric, r=rnewman 2014-04-07 10:49:32 -04:00
David Rajchenbach-Teller
7e80df0235 Bug 992363 - Fix a few uncaught async errors in services. r=rnewman 2014-04-07 10:33:56 -04:00
Asaf Romano
5dbae2896b Bug 981689 - Show a notice to beta users when we turn telemetry on by default on the beta channel - Firefox Desktop 2014-04-07 12:26:58 +03:00
Benjamin Smedberg
cd2fddc1ce Bug 986582 - Get rid of the toolkit.telemetry.enabledPreRelease pref and make the toolkit.telemetry.enabled pref do the right thing for beta users who are testing a final release build, r=rnewman
--HG--
extra : rebase_source : 43f70e2c1c3207f37ba0789245958cb0c34187f6
2014-04-03 14:55:42 -04:00
Carsten "Tomcat" Book
d4d8a64c7a merge fx-team to mozilla-central 2014-04-03 12:46:58 +02:00
Mark Hammond
7dc2e440e9 Bug 987468 - remove sync delayed notification. r=ttaubert 2014-04-03 09:56:59 +11:00
Richard Newman
bc9c137228 Bug 990872 - Eliminate Places dependency in Sync utils. r=gps 2014-04-01 21:33:42 -07:00
Henrik Skupin
0d814619fc Bug 986190 - [tps] Synced data on the server is not always wiped at the end of a test. r=jgriffin, r=rnewman DONTBUILD 2014-04-02 22:58:14 +02:00
Gregory Szorc
4adb89bc72 Bug 968419 - Store and submit a persistent health report identifier; r=rnewman, r=bsmedberg
Up to this point, Firefox Health Report has generated and submitted a
random UUID with each upload. Generated UUIDs were stored on the client.
During upload, the client asked the server to delete all old UUIDs.
Well-behaving clients thus left at most one record/ID on the server.

Unfortunately, clients in the wild have not been behaving properly. We
are seeing multiple documents on the server that appear to come from the
same client. Clients are uploading new records but failing to delete the
old ones. These old, undeleted "orphan" records are severely impacting
the ability to derive useful knowledge from FHR data because it is
difficult, resource intensive, and error prone to filter the records on
the server. This is undermining the ability for FHR data to be put to
good use.

This patch introduces a persistent client identifier. When the client is
initialized, it generates a random UUID. That UUID is persisted to the
profile and sent as part of every upload.

For privacy reasons, if a client opts out of data submission, the client
ID will be reset as soon as all remote data has been deleted.

We still issue and send upload IDs. They exist mostly for forensics
purposes so we may log client behavior and more accurately determine
what exactly misbehaving, orphan-producing clients are doing.

It is worth noting that this persistent client identifier will not solve
all problems of branching and orphaned records. For example, profile
copying will result in multiple clients sharing a client identifier. A
"client ID version" field has been added to facilitate an upgrade path
towards client IDs with different generation semantics.

--HG--
extra : rebase_source : b761daab39fb07b6ab8883819d68bf53462314a0
2014-02-20 11:30:52 -08:00
Chris Karlof
9bc6ab6d2a Bug 989549 - Call signOut() in FxAccountsClient.jsm from signOut() in FxAccounts.jsm. r=markh 2014-04-09 16:14:19 -07:00
Henrik Skupin
5e6c5a1faf Bug 989249 - test_addon_reconciling.js broken due to missing sync. r=jgriffin DONTBUILD 2014-04-01 12:13:37 +02:00
Henrik Skupin
af7d3cf41b Bug 989045 - [tps] Registering of observer topics happens too late so 'weave:engine:start-tracking' can be missed during startup. r=jgriffin DONTBUILD 2014-04-01 08:35:32 +02:00
Mark Hammond
3d5d088ab8 Bug 985902 - expose fxaccounts/MOZ_SERVICES_FXACCOUNTS to mozinfo and only run test_hawkclient when enabled. r=ted 2014-03-31 14:15:05 +11:00
Andrei Eftimie
807e96807c Bug 983642 - [tps] AddonRepository.getAddonsByIDs fails in mutiple tps tests. r=hskupin DONTBUILD
--HG--
extra : rebase_source : 51ed8adff60cd7a0ddcd9c7c36a81f3510350089
2014-03-27 20:06:56 +01:00
Henrik Skupin
e985fb4331 Bug 981848 - [tps] Don't force login each time the browser gets started. r=jgriffin - DONTBUILD 2014-03-26 21:55:00 +01:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
0581431d4c Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Sam Penrose
3d8b5f0aad Bug 967008 - getAccounts should return the account info right away. r=jedp 2014-03-26 09:12:14 -07:00
Wes Kocher
0d58e41dd9 Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Richard Newman
cc0d0bda5a Bug 841096 - Follow-up: remove debugging cruft. r=trivial 2014-03-25 09:00:07 -07:00
Wes Kocher
5389f8cd94 Merge m-c to fx-team 2014-03-25 20:23:20 -07:00
Mark Hammond
5675a1c236 Bug 988051 - lazy-load FxAccountsClient module. r=rnewman 2014-03-26 12:13:46 +11:00
Henrik Skupin
ff4ec74c43 Bug 987682 - DumpBookmarks() in bookmarks.jsm hangs due to invalid JSON data. r=jgriffin DONTBUILD 2014-03-25 19:43:33 +01:00
Nicholas Nethercote
fd38bb47c5 Bug 987146 - Represent SQL queries more efficiently. r=gps.
--HG--
extra : rebase_source : 44b196f04887d88742517e2735a33d4d79aae8d5
2014-03-24 11:31:29 -04:00
Nathan Froyd
ae562efb3f Bug 1045617 followup - remove dummy mach command DONTBUILD; r=me 2014-08-06 12:28:37 -04:00
Valery Yundin
b8f18c9040 Bug 841096 - Part 2: speed up retrieval of open tabs. r=rnewman 2014-03-24 16:11:37 -07:00
Valery Yundin
7542910281 Bug 841096 - Part 1: speed up about:sync-tabs. r=rnewman 2014-03-24 16:11:37 -07:00
Mark Hammond
40e12f4211 Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-24 11:44:43 +11:00
Phil Ringnalda
08f929b520 Back out b9597187a3d6 (bug 985212) for xpcshell bustage
CLOSED TREE
2014-03-22 21:30:46 -07:00
Mark Hammond
b52785af62 Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-23 14:20:38 +11:00
Marco Bonardo
163196f903 Bug 818584 - Discard consecutive duplicate bookmark backups by comparing hashes r=mano
Original patch by Raymond Lee <raymond@appcoast.com> f=mak
2014-03-19 14:33:02 +01:00
Gregory Szorc
add4f755f7 Bug 974024 - Add FHR recording of Telemetry Experiments activity; r=bsmedberg
--HG--
extra : rebase_source : 1e875e53da49c69194ee740898ff943d1801d1cf
2014-03-20 14:16:00 -07:00
Carsten "Tomcat" Book
12e249d1fa merge fx-team to mozilla-central 2014-03-21 15:16:06 +01:00
Henrik Skupin
32625620a9 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
Phil Ringnalda
44d24e0d0d Back out 61454adff1d6 (bug 985212) for xpcshell bustage 2014-03-20 21:50:21 -07:00
Mark Hammond
0ebee1740a Bug 985212 - check if the username looks like an email address to determine what sync to use. r=rnewman 2014-03-21 14:39:35 +11:00
Mark Hammond
f65bef3293 Bug 970167 - Disable passwords engine when a master password is set. r=rnewman 2014-03-21 14:22:02 +11:00
Fernando Jiménez
7d20b5a7ba Bug 976002 - Build time flag to enable/disable FxA. r=fabrice, r=gps 2014-03-17 09:58:16 -07:00
Mozilla Release Engineering
198567e0a0 Merging in version bump NO BUG CLOSED TREE DONTBUILD 2014-03-17 13:48:08 -07:00
Mark Hammond
0196af6a9c Bug 983270 (part 2) - _findCluster() should return null on authentication errors. r=ckarlof 2014-03-17 09:39:31 +11:00
Mark Hammond
e50a273cff Bug 983270 (part 1) - testonly refactor of FxA tests to make cluster testing easier. r=ckarlof 2014-03-17 09:39:31 +11:00
Wes Kocher
b031e3117f Merge m-c to fx-team 2014-03-14 23:19:44 -07:00
Wes Kocher
aa89f0292c Merge inbound to m-c 2014-03-14 22:20:25 -07:00
Mark Hammond
a6375e2baf Bug 983913 - ensure failure to reject a promise is actually reported. r=ttaubert 2014-03-14 18:02:01 -07:00
Chris Karlof
eab2e0d39d Bug 983256 - Change the client generated expiration time in FxA assertions to be 'forever'. r=jedp 2014-03-14 14:50:19 -07:00
Henrik Skupin
5684142d7a Bug 966434 - Refactor tps for fxaccounts and old sync authentication support. r=jgriffin 2014-03-14 21:13:38 +01:00
Richard Newman
bb5c6a7aa9 Bug 978876 - Part 3: mark engines as declined after making a datatype election. r=markh 2014-03-13 16:37:26 -07:00
Richard Newman
89604f48c0 Bug 978876 - Part 2: refactor out datatype choice. r=markh 2014-03-13 16:37:26 -07:00
Richard Newman
2bf76553bf Bug 978876 - Part 1: handle declined engines in desktop Sync meta/global. r=gps
* * *
Bug 978876 - Part 2: refactor out meta/global upload.
2014-03-13 16:37:25 -07:00
Richard Newman
b6c49a6b1c Bug 978876 - Part 0: add set utilities to CommonUtils. r=gps 2014-03-13 16:37:25 -07:00
Jed Parsons
58ef7484ed Bug 978896 - FxA: watch() should get silent assertion if possible. r=ferjm 2014-03-11 17:49:26 -07:00
Mark Hammond
923842642f Bug 982965 - ensure we fail if getKeys can't get kA or kB. r=ckarlof 2014-03-14 15:22:32 -07:00
Gregory Szorc
76bf714c29 Bug 875562 - Part 9: Change Health Report to pull from crashes manager; r=bsmedberg, r=rnewman
This patch changes Firefox Health Report to pull crash counts from the
newly-implemented crash manager. The crash manager is now the canonical
source of crash data, so all the code for reading crash dump files from
disk has been removed.

This regresses the collection capability of Firefox Health Report by
removing plugin crashes and hangs from the reported values. This
regression is intended to be temporary and a follow-up bug will be
created to add plugin process event recording to the crash events
system.

This regression has been justified because the old crash reporting
mechanism was severely flawed and wasn't sending accurate data (not all
crashes were being saved to dumps and some dumps would be deleted).

--HG--
extra : amend_source : d54bb3bf9f740508cb4eda286536ce16a4c3bee5
2014-01-30 16:48:52 -08:00
Wes Kocher
51fb4209af Backed out changeset 21793ea94b09 (bug 875562) for ASAN xpcshell failures 2014-03-13 15:22:40 -07:00
Gregory Szorc
808ce3d50e Bug 875562 - Part 9: Change Health Report to pull from crashes manager; r=bsmedberg, r=rnewman
This patch changes Firefox Health Report to pull crash counts from the
newly-implemented crash manager. The crash manager is now the canonical
source of crash data, so all the code for reading crash dump files from
disk has been removed.

This regresses the collection capability of Firefox Health Report by
removing plugin crashes and hangs from the reported values. This
regression is intended to be temporary and a follow-up bug will be
created to add plugin process event recording to the crash events
system.

This regression has been justified because the old crash reporting
mechanism was severely flawed and wasn't sending accurate data (not all
crashes were being saved to dumps and some dumps would be deleted).

--HG--
extra : rebase_source : 7442a712d06b4d875010e78d4dd4f5cc179c8dfc
2014-01-30 16:48:52 -08:00
Carsten "Tomcat" Book
0b804927d7 merge fx-team to mozilla-central 2014-03-13 12:52:51 +01:00
Henrik Skupin
b39630e0de 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
Tim Taubert
fbfe856453 Bug 969555 - Follow-up to fix test_syncscheduler.js failures on a CLOSED TREE r=bustage 2014-03-12 13:06:01 -07:00
Tim Taubert
c0680383b8 Bug 969555 - Reduce single device sync interval for FxAccounts r=rnewman 2014-03-11 14:46:36 -07:00
Marco Bonardo
edaa060572 Bug 969318 - Mute "A promise chain failed to handle a rejection" error from the livemarks service. r=mano 2014-03-12 16:24:23 +01:00
Mark Hammond
dbd111e61c Bug 958447 - respect Retry-After header from token server. r=rnewman 2014-03-12 19:27:22 -07:00
Chris Karlof
f69e659748 Bug 982848: Don't clear syncKeyBundle in BrowserID Identity manager during failures to fetch token. r=markh
--HG--
extra : rebase_source : 42bccbef9e86cbc2f9e6113656acdddd04844f67
2014-03-12 14:31:18 -07:00
Chris Karlof
9e95cbfb16 Bug 981140 - Make the FxA signup uri pref and path explicitly reference signup. r=markh 2014-03-11 15:58:27 -07:00
Mark Hammond
07cbf14768 Bug 981957 - make browserid_identity's logs consistent with other sync logs. r=rnewman 2014-03-11 13:24:51 -07:00
Mark Hammond
f3aab980bb Bug 981172 - have bid_identity fire a notification on login error. r=ckarlof
--HG--
extra : rebase_source : f7413e58d2913b008142b7b70a9455995edffa82
2014-03-10 11:54:46 -07:00
Jed Parsons
639e1d6ba2 Bug 969892 - Fixes and improvements to FxAccounts test suite; r=ttaubert 2014-02-18 09:47:52 -08:00
Henrik Skupin
31fdbed8b1 Bug 966434 - Update TPS to use FxA. r=jgriffin 2014-03-07 15:54:19 -08:00
Mark Hammond
b3b28ee9ca Bug 967015 - Have bid_identity call Service.startOver on logout. r=rnewman,ckarlof 2014-03-07 15:41:33 +11:00
Mark Hammond
bce6e55f5d Bug 977502 (part 2) - add tests with mock http responses simulating errors. r=ckarlof 2014-03-07 15:41:32 +11:00
Mark Hammond
d9dcb4b987 Bug 977502 (part 1) - better management of login failure states and allow sync to force a login. r=ckarlof,rnewman 2014-03-07 15:41:32 +11:00
Phil Ringnalda
80b78db673 Back out 8b98e1dc7ef3 (bug 972100) for xpcshell bustage 2014-03-03 21:41:35 -08:00
Mark Hammond
8425e489a6 Bug 972100 - have _remoteSetup() use the existing info response when logging in. r=rnewman 2014-03-04 15:16:06 +11:00
Mark Hammond
99d3ec549e Bug 972070 - followup to address review comments previously missed. r=jedp 2014-03-03 10:28:30 +11:00
Mark Hammond
6286168567 Bug 972070 - improve FxAccounts.jsm state management. r=jedp 2014-03-03 10:20:56 +11:00
Mark Hammond
56e312c5de Bug 976393 - ensure authentication errors log as much detail as possible. r=jedp 2014-03-03 09:55:30 +11:00
Mark Hammond
fb5728ab42 Bug 977931 - return an error object even when restResponse.headers is null. r=spenrose 2014-02-28 13:24:49 +11:00
Fernando Jiménez
7f938a5970 Bug 977597 - Use FxA production server URI. r=jedp 2014-02-27 19:41:46 +01:00
Sam Penrose
28968a9820 Bug 945449 - FxAccountsClient should support auth server's backoff protocol. r=ferjm 2014-02-26 10:11:49 -08:00
Jed Parsons
d103f216bf 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
Mark Hammond
a1c0a70f11 Bug 932759 (part 2) - Have form sync work correctly if FormHistory is disabled. r=rnewman 2014-02-26 17:12:16 +11:00
Georg Fritzsche
c016e5792f Bug 971279 - Fix FHR addon provider test for plugin data count. r=gps 2014-02-25 13:30:04 -08:00
Carsten "Tomcat" Book
df93062b9a Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-25 15:42:32 +01:00
Wes Kocher
fa9c928be9 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
82cc60e970 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
d743fcd5d6 Bug 963835 - B2G fixes for FxA client handle incorrect capitalization in emails. r=ferjm 2014-01-31 15:21:46 -08:00
Alexander J. Vincent
59e70883e7 Bug 952307 - Move some addon-private JSM's to a subdirectory. r=Unfocused
--HG--
rename : toolkit/mozapps/extensions/AddonLogging.jsm => toolkit/mozapps/extensions/internal/AddonLogging.jsm
rename : toolkit/mozapps/extensions/AddonRepository.jsm => toolkit/mozapps/extensions/internal/AddonRepository.jsm
rename : toolkit/mozapps/extensions/AddonRepository_SQLiteMigrator.jsm => toolkit/mozapps/extensions/internal/AddonRepository_SQLiteMigrator.jsm
rename : toolkit/mozapps/extensions/AddonUpdateChecker.jsm => toolkit/mozapps/extensions/internal/AddonUpdateChecker.jsm
rename : toolkit/mozapps/extensions/LightweightThemeImageOptimizer.jsm => toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
rename : toolkit/mozapps/extensions/PluginProvider.jsm => toolkit/mozapps/extensions/internal/PluginProvider.jsm
rename : toolkit/mozapps/extensions/SpellCheckDictionaryBootstrap.js => toolkit/mozapps/extensions/internal/SpellCheckDictionaryBootstrap.js
rename : toolkit/mozapps/extensions/XPIProvider.jsm => toolkit/mozapps/extensions/internal/XPIProvider.jsm
rename : toolkit/mozapps/extensions/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIProviderUtils.js
2014-01-07 20:14:08 -08:00
Phil Ringnalda
ee790c9883 Backed out changeset 400723105403 (bug 952307)
CLOSED TREE

--HG--
rename : toolkit/mozapps/extensions/internal/AddonLogging.jsm => toolkit/mozapps/extensions/AddonLogging.jsm
rename : toolkit/mozapps/extensions/internal/AddonRepository.jsm => toolkit/mozapps/extensions/AddonRepository.jsm
rename : toolkit/mozapps/extensions/internal/AddonRepository_SQLiteMigrator.jsm => toolkit/mozapps/extensions/AddonRepository_SQLiteMigrator.jsm
rename : toolkit/mozapps/extensions/internal/AddonUpdateChecker.jsm => toolkit/mozapps/extensions/AddonUpdateChecker.jsm
rename : toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm => toolkit/mozapps/extensions/LightweightThemeImageOptimizer.jsm
rename : toolkit/mozapps/extensions/internal/PluginProvider.jsm => toolkit/mozapps/extensions/PluginProvider.jsm
rename : toolkit/mozapps/extensions/internal/SpellCheckDictionaryBootstrap.js => toolkit/mozapps/extensions/SpellCheckDictionaryBootstrap.js
rename : toolkit/mozapps/extensions/internal/XPIProvider.jsm => toolkit/mozapps/extensions/XPIProvider.jsm
rename : toolkit/mozapps/extensions/internal/XPIProviderUtils.js => toolkit/mozapps/extensions/XPIProviderUtils.js
2014-02-20 21:44:23 -08:00
Alexander J. Vincent
4261297298 Bug 952307 - Move some addon-private JSM's to a subdirectory. r=Unfocused
--HG--
rename : toolkit/mozapps/extensions/AddonLogging.jsm => toolkit/mozapps/extensions/internal/AddonLogging.jsm
rename : toolkit/mozapps/extensions/AddonRepository.jsm => toolkit/mozapps/extensions/internal/AddonRepository.jsm
rename : toolkit/mozapps/extensions/AddonRepository_SQLiteMigrator.jsm => toolkit/mozapps/extensions/internal/AddonRepository_SQLiteMigrator.jsm
rename : toolkit/mozapps/extensions/AddonUpdateChecker.jsm => toolkit/mozapps/extensions/internal/AddonUpdateChecker.jsm
rename : toolkit/mozapps/extensions/LightweightThemeImageOptimizer.jsm => toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
rename : toolkit/mozapps/extensions/PluginProvider.jsm => toolkit/mozapps/extensions/internal/PluginProvider.jsm
rename : toolkit/mozapps/extensions/SpellCheckDictionaryBootstrap.js => toolkit/mozapps/extensions/internal/SpellCheckDictionaryBootstrap.js
rename : toolkit/mozapps/extensions/XPIProvider.jsm => toolkit/mozapps/extensions/internal/XPIProvider.jsm
rename : toolkit/mozapps/extensions/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIProviderUtils.js
2014-01-07 20:14:08 -08:00
Sam Penrose
a1fc765c95 Bug 955953 - FxAccountsClient should set Accept-Language header on all server calls. r=rnewman 2014-02-16 08:39:05 -08:00
Jed Parsons
2329e136ec Bug 963835 - FxA client handle incorrect capitalization in emails. r=rnewman 2014-02-19 08:34:42 -08:00
Fernando Jiménez
8f9b14ac06 Bug 938635 - Implement forceAuthentication for firefox accounts. Part 3: UI glue. r=fabrice 2014-02-19 11:47:11 +01:00
Fernando Jiménez
a46e069e6f Bug 938635 - Implement forceAuthentication for firefox accounts. Part 2: FxAccountsManager. r=markh 2014-02-19 11:47:11 +01:00
Tim Taubert
0f98e74c72 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
Ehsan Akhgari
7b16802ce4 Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
It's just as easy to directly set the preprocessor macro in the moz.build
files.  Using this variable doesn't really buy us anything.

This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Phil Ringnalda
c422c4939c Merge f-t to m-c 2014-02-15 10:10:31 -08:00
Masayuki Nakano
b3b19a9e2f Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Gregory Szorc
1290f96f1d 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
Jed Parsons
94f10be0d7 Bug 967372 - Fix intermittent test_hawk.js failures on Windows. r=ttaubert 2014-02-08 17:07:34 -08:00
Mark Hammond
225c7f7993 Bug 972129 - introduce a custom backoff schedule if failure is due to identity manager not being ready. r=rnewman 2014-02-13 17:07:53 +11:00
Gregory Szorc
2075042f8b Bug 970336 - test_restrequest.js times out on Android 2.3 emulator; r=rnewman
--HG--
extra : rebase_source : 686beb0c5ccfab3ebde27f554a3fa60439df5e53
extra : amend_source : 787e95b977f4557073f8c30b9e4e97269e6d1572
2014-02-12 17:16:44 -08:00
Gregory Szorc
94e5fda7a5 Bug 958561 - Measure Sync with Firefox Health Report; r=rnewman
Metrics for Sync have been added to Firefox Health Report. If Sync is
not configured, we'll report that fact and the supported and preferred
Sync protocols (1.1 or 1.5).

If Sync is configured, we report the daily counts of sync attempts and
how many are successful vs errored. We also report daily counts of the
device types attached to the account.

--HG--
extra : rebase_source : 77170b323706a85cbe1542ac993ebdc1dba3b505
extra : amend_source : 7802e80b4fc94937fbe3f67505b447bfb048732d
2014-02-05 08:08:14 -08:00
Sam Penrose
671acfec76 Bug 968929 - Update FXAccountsClient to production server URI. r=jedp 2014-02-11 18:07:26 -08:00
Mark Hammond
53290815f0 Bug 967047 - give FxA credentials the same special treatment the legacy sync host credentials get. r=rnewman 2014-02-12 18:57:16 +11:00
Mark Hammond
49015f9bf8 Bug 965896 - allow a sync startOver to re-enable Firefox Accounts. r=rnewman 2014-02-12 17:25:41 +11:00
Richard Newman
4a066f87d1 Bug 968436 - Add 1.5 to client records. r=trivial 2014-02-10 18:36:02 -08:00
Jed Parsons
95f73416a1 Bug 943521 - Use onepw prototcol in fxa client. r=ckarlof 2014-02-04 22:14:30 -08:00
Ryan VanderMeulen
085446242d Backed out changeset 79b198be3e50 (bug 943521) for xpcshell failures. 2014-02-07 17:55:12 -05:00
Jed Parsons
1ab63753b4 Bug 943521 - Use onepw prototcol in fxa client. r=ckarlof 2014-02-04 22:14:30 -08:00
Peiyong Lin
6d3ae7dcf8 Bug 964735 - Convert libc into Library to make it link lazily. r=Yoric 2014-02-07 10:37:21 -05:00
Tim Taubert
61bf3e55b8 Bug 967120 - Follow-up to fix broken xpcshell and mochitests r=markh 2014-02-04 12:03:18 +01:00
Tim Taubert
f1d71b5e1a Bug 967120 - Clean up FxAccounts' public/internal API implementation r=markh 2014-02-04 11:12:37 +01:00
Tim Taubert
5367c1eab8 Bug 735868 - Fix tests r=rnewman 2014-02-07 05:12:26 +01:00
Tim Taubert
ed494e6d16 Bug 735868 - Stop tracking last selected timestamp in tabs engine r=rnewman 2014-02-07 03:43:22 +01:00
Mark Hammond
e3b1052733 Bug 969169 - ensure logging is only initialized once. r=ttaubert 2014-02-07 11:53:52 +11:00
Carsten "Tomcat" Book
23a4962c96 Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-05 14:54:11 +01:00
Fernando Jiménez
d82eee2f25 Bug 967503 - Make HawkClient work in b2g. r=rnewman 2014-02-04 20:32:16 +01:00
Phil Ringnalda
f95558444a Back out e78a7c6d9601 (bug 965896) for xpcshell orange 2014-02-04 21:19:19 -08:00
Mark Hammond
688b772266 Bug 967313 - ensure Sync is initialized before we set the fxAccounts user. r=ttaubert. 2014-02-05 16:09:54 +11:00
Mark Hammond
8858a7121a Bug 965896 - allow a legacy sync reset to re-enable fxa accounts. r=rnewman 2014-02-05 14:59:19 +11:00