Commit Graph

3534 Commits

Author SHA1 Message Date
Nicholas Nethercote
62c092c123 Bug 996430 - Remove FxAccountsUtils.jsm. r=ttaubert.
--HG--
extra : rebase_source : 797c0af77bedf9e5c768bd7083dda4f8d80610a9
2014-04-16 20:48:00 -07:00
Henrik Skupin
1f19603bc7 Bug 996027 - Ensure that TPS always fakes login into Weave. r=rnewman DONTBUILD 2014-04-14 18:22:23 +02:00
Ryan VanderMeulen
cf0e68cefe 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
b168828c29 Bug 983445 - Verification causes logout on device. r=jedp 2014-04-15 16:05:16 -07:00
Mark Hammond
df6265d9a7 Bug 992371 - Avoid promise rejection messages from FxAccounts. r=ttaubert 2014-04-10 17:13:53 +10:00
Roberto A. Vitillo
27b3061405 Bug 993468 - TypeError: callback is undefined in jsonSave(). r=rnewman 2014-04-13 14:28:20 -04:00
Ed Morley
a7f50452e1 Merge latest green inbound changeset and mozilla-central 2014-04-10 17:55:29 +01:00
Henrik Skupin
7cad0b30a2 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
fae2fec418 Bug 985145 - make node reassignment work correctly with FxA. r=rnewman 2014-04-10 12:18:24 +10:00
Mark Hammond
08a11b0e38 Bug 990834 (part 3) - Fix handling of hawk errors. r=ckarlof 2014-04-10 12:08:19 +10:00
Mark Hammond
0ca5780e06 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
9d46521d1f Bug 990834 (part 1) - minor refactor of hawk tests. r=ckarlof 2014-04-10 12:08:18 +10:00
Marco Castelluccio
9c26d86ac7 Bug 993173 - Use encoding option in readJSON. r=Yoric 2014-04-08 04:47:00 +02:00
Marco Castelluccio
e07ebcf402 Bug 988301 - Avoid main-thread IO in Sync code. r=Yoric, r=rnewman 2014-04-07 10:49:32 -04:00
David Rajchenbach-Teller
047732cf2f Bug 992363 - Fix a few uncaught async errors in services. r=rnewman 2014-04-07 10:33:56 -04:00
Asaf Romano
65fca7cc69 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
4766f8c541 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
70292f3a24 merge fx-team to mozilla-central 2014-04-03 12:46:58 +02:00
Mark Hammond
bca2d16ead Bug 987468 - remove sync delayed notification. r=ttaubert 2014-04-03 09:56:59 +11:00
Richard Newman
d3e0a0369a Bug 990872 - Eliminate Places dependency in Sync utils. r=gps 2014-04-01 21:33:42 -07:00
Henrik Skupin
9df62c8fa8 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
4daf05ec72 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
0e29299295 Bug 989549 - Call signOut() in FxAccountsClient.jsm from signOut() in FxAccounts.jsm. r=markh 2014-04-09 16:14:19 -07:00
Henrik Skupin
ea2e9e2684 Bug 989249 - test_addon_reconciling.js broken due to missing sync. r=jgriffin DONTBUILD 2014-04-01 12:13:37 +02:00
Henrik Skupin
23c6bd5e59 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
b27f3714b9 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
3215a5daf1 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
af1510e0c2 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
d9d827e562 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
80aa712f37 Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Sam Penrose
7b3de7c7de Bug 967008 - getAccounts should return the account info right away. r=jedp 2014-03-26 09:12:14 -07:00
Wes Kocher
aee750fb50 Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Richard Newman
f5a37a794f Bug 841096 - Follow-up: remove debugging cruft. r=trivial 2014-03-25 09:00:07 -07:00
Wes Kocher
f1802a1e54 Merge m-c to fx-team 2014-03-25 20:23:20 -07:00
Mark Hammond
9232df9f5b Bug 988051 - lazy-load FxAccountsClient module. r=rnewman 2014-03-26 12:13:46 +11:00
Henrik Skupin
3904a89084 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
a3e163907f Bug 987146 - Represent SQL queries more efficiently. r=gps.
--HG--
extra : rebase_source : 44b196f04887d88742517e2735a33d4d79aae8d5
2014-03-24 11:31:29 -04:00
Nathan Froyd
0adba0b0cc Bug 1045617 followup - remove dummy mach command DONTBUILD; r=me 2014-08-06 12:28:37 -04:00
Valery Yundin
76dfb585ec Bug 841096 - Part 2: speed up retrieval of open tabs. r=rnewman 2014-03-24 16:11:37 -07:00
Valery Yundin
c13e994033 Bug 841096 - Part 1: speed up about:sync-tabs. r=rnewman 2014-03-24 16:11:37 -07:00
Mark Hammond
3682be1ef0 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
dc60ab2e46 Back out b9597187a3d6 (bug 985212) for xpcshell bustage
CLOSED TREE
2014-03-22 21:30:46 -07:00
Mark Hammond
9f6f9d5b81 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
5b1b279f66 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
d48a503b8b 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
695b04a65c merge fx-team to mozilla-central 2014-03-21 15:16:06 +01:00
Henrik Skupin
adab276adc 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
98c5350ad8 Back out 61454adff1d6 (bug 985212) for xpcshell bustage 2014-03-20 21:50:21 -07:00
Mark Hammond
2779b46dec 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
1f813b9a99 Bug 970167 - Disable passwords engine when a master password is set. r=rnewman 2014-03-21 14:22:02 +11:00
Fernando Jiménez
03ca9f8669 Bug 976002 - Build time flag to enable/disable FxA. r=fabrice, r=gps 2014-03-17 09:58:16 -07:00
Mozilla Release Engineering
0c196d67b7 Merging in version bump NO BUG CLOSED TREE DONTBUILD 2014-03-17 13:48:08 -07:00
Mark Hammond
e5c5728e07 Bug 983270 (part 2) - _findCluster() should return null on authentication errors. r=ckarlof 2014-03-17 09:39:31 +11:00
Mark Hammond
af801391e3 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
391ff9cd5a Merge m-c to fx-team 2014-03-14 23:19:44 -07:00
Wes Kocher
78bcbd03fc Merge inbound to m-c 2014-03-14 22:20:25 -07:00
Mark Hammond
1dd0bb7d86 Bug 983913 - ensure failure to reject a promise is actually reported. r=ttaubert 2014-03-14 18:02:01 -07:00
Chris Karlof
910e850bb1 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
4153824820 Bug 966434 - Refactor tps for fxaccounts and old sync authentication support. r=jgriffin 2014-03-14 21:13:38 +01:00
Richard Newman
23c22fc345 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
725812ee96 Bug 978876 - Part 2: refactor out datatype choice. r=markh 2014-03-13 16:37:26 -07:00
Richard Newman
152a9cbecb 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
75e7c94a27 Bug 978876 - Part 0: add set utilities to CommonUtils. r=gps 2014-03-13 16:37:25 -07:00
Jed Parsons
b38e622a84 Bug 978896 - FxA: watch() should get silent assertion if possible. r=ferjm 2014-03-11 17:49:26 -07:00
Mark Hammond
daab8eed8b 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
c8fcbe389c 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
0d01d793aa Backed out changeset 21793ea94b09 (bug 875562) for ASAN xpcshell failures 2014-03-13 15:22:40 -07:00
Gregory Szorc
b70f71e2b8 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
d34717a818 merge fx-team to mozilla-central 2014-03-13 12:52:51 +01:00
Henrik Skupin
7fd21d981d 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
c05e7c3894 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
0f0c043c5a Bug 969555 - Reduce single device sync interval for FxAccounts r=rnewman 2014-03-11 14:46:36 -07:00
Marco Bonardo
0fb30b7764 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
4242ccd1ec Bug 958447 - respect Retry-After header from token server. r=rnewman 2014-03-12 19:27:22 -07:00
Chris Karlof
3da7bdaa3a 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
2faf3c1b66 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
4fd3905464 Bug 981957 - make browserid_identity's logs consistent with other sync logs. r=rnewman 2014-03-11 13:24:51 -07:00
Mark Hammond
c970a9dbbf 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
055d91dec8 Bug 969892 - Fixes and improvements to FxAccounts test suite; r=ttaubert 2014-02-18 09:47:52 -08:00
Henrik Skupin
d20ded087c Bug 966434 - Update TPS to use FxA. r=jgriffin 2014-03-07 15:54:19 -08:00
Mark Hammond
ff82e8a18f Bug 967015 - Have bid_identity call Service.startOver on logout. r=rnewman,ckarlof 2014-03-07 15:41:33 +11:00
Mark Hammond
d01cbc5f65 Bug 977502 (part 2) - add tests with mock http responses simulating errors. r=ckarlof 2014-03-07 15:41:32 +11:00
Mark Hammond
981de0739e 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
7b125f1625 Back out 8b98e1dc7ef3 (bug 972100) for xpcshell bustage 2014-03-03 21:41:35 -08:00
Mark Hammond
9295028d71 Bug 972100 - have _remoteSetup() use the existing info response when logging in. r=rnewman 2014-03-04 15:16:06 +11:00
Mark Hammond
6fc668d1d2 Bug 972070 - followup to address review comments previously missed. r=jedp 2014-03-03 10:28:30 +11:00
Mark Hammond
bab4879424 Bug 972070 - improve FxAccounts.jsm state management. r=jedp 2014-03-03 10:20:56 +11:00
Mark Hammond
b048c901f0 Bug 976393 - ensure authentication errors log as much detail as possible. r=jedp 2014-03-03 09:55:30 +11:00
Mark Hammond
df34c67f0f 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
cf4f53aa91 Bug 977597 - Use FxA production server URI. r=jedp 2014-02-27 19:41:46 +01:00
Sam Penrose
6e22bb4404 Bug 945449 - FxAccountsClient should support auth server's backoff protocol. r=ferjm 2014-02-26 10:11:49 -08:00
Jed Parsons
96d06ec0f2 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
74f929ccaf 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
dc9ddbc8a1 Bug 971279 - Fix FHR addon provider test for plugin data count. r=gps 2014-02-25 13:30:04 -08:00
Carsten "Tomcat" Book
ba5a0fa512 Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-25 15:42:32 +01:00
Wes Kocher
55d1d2f0db 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
1650654965 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
7799cc441b 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
8c8ba5a9d1 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
76b5ae9972 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
d93278ac48 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
0be9c7ab99 Bug 955953 - FxAccountsClient should set Accept-Language header on all server calls. r=rnewman 2014-02-16 08:39:05 -08:00
Jed Parsons
c06918af1e Bug 963835 - FxA client handle incorrect capitalization in emails. r=rnewman 2014-02-19 08:34:42 -08:00
Fernando Jiménez
fb628dd7a0 Bug 938635 - Implement forceAuthentication for firefox accounts. Part 3: UI glue. r=fabrice 2014-02-19 11:47:11 +01:00
Fernando Jiménez
c5f76c663d Bug 938635 - Implement forceAuthentication for firefox accounts. Part 2: FxAccountsManager. r=markh 2014-02-19 11:47:11 +01:00
Tim Taubert
ac387a4007 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
22eada1dd3 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
7cd2f471ea Merge f-t to m-c 2014-02-15 10:10:31 -08:00
Masayuki Nakano
e393ad7356 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
5f499af8a5 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
f25b27aed0 Bug 967372 - Fix intermittent test_hawk.js failures on Windows. r=ttaubert 2014-02-08 17:07:34 -08:00
Mark Hammond
db81771f25 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
aef1d3b82f 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
b72f214116 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
ed221a42bd Bug 968929 - Update FXAccountsClient to production server URI. r=jedp 2014-02-11 18:07:26 -08:00
Mark Hammond
cc97c8947f 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
6942725f5b Bug 965896 - allow a sync startOver to re-enable Firefox Accounts. r=rnewman 2014-02-12 17:25:41 +11:00
Richard Newman
217e194f59 Bug 968436 - Add 1.5 to client records. r=trivial 2014-02-10 18:36:02 -08:00
Jed Parsons
3199967ef7 Bug 943521 - Use onepw prototcol in fxa client. r=ckarlof 2014-02-04 22:14:30 -08:00
Ryan VanderMeulen
bc5b0fe4e6 Backed out changeset 79b198be3e50 (bug 943521) for xpcshell failures. 2014-02-07 17:55:12 -05:00
Jed Parsons
8c0fcd3390 Bug 943521 - Use onepw prototcol in fxa client. r=ckarlof 2014-02-04 22:14:30 -08:00
Peiyong Lin
757ab497a9 Bug 964735 - Convert libc into Library to make it link lazily. r=Yoric 2014-02-07 10:37:21 -05:00
Tim Taubert
28b86bf584 Bug 967120 - Follow-up to fix broken xpcshell and mochitests r=markh 2014-02-04 12:03:18 +01:00
Tim Taubert
7535e42865 Bug 967120 - Clean up FxAccounts' public/internal API implementation r=markh 2014-02-04 11:12:37 +01:00
Tim Taubert
e08364b171 Bug 735868 - Fix tests r=rnewman 2014-02-07 05:12:26 +01:00
Tim Taubert
22018cd47d Bug 735868 - Stop tracking last selected timestamp in tabs engine r=rnewman 2014-02-07 03:43:22 +01:00
Mark Hammond
a76283ee0e Bug 969169 - ensure logging is only initialized once. r=ttaubert 2014-02-07 11:53:52 +11:00
Carsten "Tomcat" Book
d9128b7e43 Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-05 14:54:11 +01:00
Fernando Jiménez
0520bccbba Bug 967503 - Make HawkClient work in b2g. r=rnewman 2014-02-04 20:32:16 +01:00
Phil Ringnalda
c85ec9721d Back out e78a7c6d9601 (bug 965896) for xpcshell orange 2014-02-04 21:19:19 -08:00
Mark Hammond
222d7dc0e4 Bug 967313 - ensure Sync is initialized before we set the fxAccounts user. r=ttaubert. 2014-02-05 16:09:54 +11:00
Mark Hammond
0bf4939db1 Bug 965896 - allow a legacy sync reset to re-enable fxa accounts. r=rnewman 2014-02-05 14:59:19 +11:00
Phil Ringnalda
d706d2b8ec Back out 2865fd5e5458 (bug 967120) for xpcshell and browser-chrome bustage 2014-02-03 20:30:45 -08:00
Tim Taubert
5bac872e26 Bug 967120 - Clean up FxAccounts' public/internal API implementation r=markh 2014-02-03 19:30:47 +01:00
Lukas Blakk
780d3fb1c9 Merging in version bump NO BUG CLOSED TREE 2014-02-03 15:03:10 -08:00
Mark Hammond
9e06684d50 Bug 966842 - initialize log.level instead of log.Level. r=ttaubert 2014-02-03 12:38:52 +11:00
Tim Taubert
5d977d0da8 Bug 964922 - Enable FxA Sync on Nightly r=markh 2014-01-30 12:09:12 -08:00
Chris Karlof
72aa2f8e60 Bug 966560 - fix bugs with time skew fix in bug 957863; r=jedp 2014-01-31 16:43:36 -08:00
Chris Karlof
c5152b981f Bug 965116: Add basic error handling to browserid_identity to respond to various authentication errors, r=markh 2014-01-31 15:26:20 -08:00
Ryan VanderMeulen
721d315595 Backed out changeset cc1bac015920 (bug 966560) for xpcshell failures. 2014-01-31 21:00:47 -05:00
Mark Hammond
d5a0e6296a 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
a8b13c2510 Bug 966560: fix bugs with time skew fix in bug 957863, r=jedp 2014-01-31 16:43:36 -08:00
Jed Parsons
357c44f512 Bug 957863 - Use FxA auth clock skew in hawk, jwcrypto, and sync. r=warner, r=rnewman 2014-01-23 18:04:38 -08:00
Carsten "Tomcat" Book
a10c0f0add merge fx-team to mozilla-central 2014-01-31 12:52:17 +01:00
Mark Hammond
a041cc2014 Bug 966159 - Fix TypeError when trying to unlink account. r=ckarlof 2014-01-30 21:05:23 -08:00
Chris Karlof
60363127c3 Bug 966131 - On first sync set firstSync pref to resetClient instead of calling resetClient directly. r=markh 2014-01-30 20:19:48 -08:00
Mark Hammond
d219a8ba6c 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
cd07679afa 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
69754ceff2 Bug 965464 - allow for an initial sync on new user signin. r=ckarlof 2014-01-30 19:02:46 -08:00
Chris Karlof
b5df9ba4b8 Bug 960887 - Handle storage endpoints returned by 1.5 token server. r=rnewman
--HG--
extra : rebase_source : a78f079a22f4e196de21b7b15d63ecdc4d475a04
2014-01-29 19:26:01 -08:00
Mark Hammond
7fb4d7baf9 Bug 965461 - ensure sync itself and sync prefs pane considers we are logged in after key fetch. r=ttaubert 2014-01-30 14:50:31 -08:00
Ryan VanderMeulen
b5a0391a64 Merge m-c to fx-team. 2014-01-30 16:40:31 -05:00
Ryan VanderMeulen
ee08d977c1 Merge fx-team to m-c. 2014-01-30 16:23:01 -05:00
Tim Taubert
2fb975c0e5 Bug 965544 - Show "now syncing" doorhanger when sync actually starts, once per login r=markh 2014-01-29 12:41:07 -08:00
Gregory Szorc
7b9cd377df Bug 965587 - Add lock to Firefox Health Report uploading; r=rnewman
Previously, it was technically possible for the FHR client to have
multiple simultaneous uploads. While this should never occur in
well-behaving systems, server logs have indicated that this behavior
might be occurring.

This patch adds a lock around uploading to ensure only 1 upload
operation may be active at a given time.

To measure the impact of this change in the wild, we added a counter
that increments whenever a held lock is encountered.

--HG--
extra : rebase_source : f0bb5065a3618cd335b6b6f31e4e68850f31f151
2014-01-29 15:28:57 -08:00
Wes Kocher
39246e3d3a Backed out changeset a76b3c746743 (bug 960887) for xpcshell bustage 2014-01-29 21:04:47 -08:00
Wes Kocher
2554cbbb72 Backed out changeset 2bfa24370b7c (bug 965461) 2014-01-29 21:04:08 -08:00
Mark Hammond
8e79a27cd5 Bug 965461 - ensure sync itself and sync prefs pane considers we are logged in after key fetch. r=ttaubert 2014-01-29 19:26:01 -08:00
Chris Karlof
49a7de1c64 Bug 960887 - Handle storage endpoints returned by 1.5 token server. r=rnewman 2014-01-29 19:26:01 -08:00
Mark Hammond
4d2ed9a598 Bug 965334 - Have browserid_identity create a DumpAppender to help debugging. r=ttaubert 2014-01-29 18:39:59 -08:00
Chris Karlof
b6008e928e Bug 963251 - Update pref to use final production token server. r=markh 2014-01-29 18:39:59 -08:00
Jed Parsons
f25709861f Bug 959919 - Send X-Client-State header to token server. r=rnewman 2014-01-29 15:02:09 -08:00
Jed Parsons
ed85114ff4 Bug 958464 - Report cause of 401 error from token server. r=ckarlof 2014-01-28 15:01:23 -08:00
Carsten "Tomcat" Book
c71e6c6fbb Backed out changeset 6f10f2e4ef13 (bug 960887) for XPC Bustage on a CLOSED TREE 2014-01-30 10:39:59 +01:00
Carsten "Tomcat" Book
4395385011 Backed out changeset 2b4f723f6c60 (bug 965461) for XPC Bustage on a CLOSED TREE 2014-01-30 10:39:40 +01:00
Mark Hammond
03131fb6d2 Bug 965461 - ensure sync itself and sync prefs pane considers we are logged in after key fetch. r=ttaubert 2014-01-30 00:22:55 -08:00
Chris Karlof
f4d6ea25b4 Bug 960887 - Handle storage endpoints returned by 1.5 token server. r=rnewman 2014-01-30 00:22:55 -08:00
Tim Taubert
5be3ca26a4 Bug 963384 - Implement modal "Choose What To Sync" dialog r=markh 2014-01-28 18:57:19 -08:00
Mark Hammond
322fe2a50a Bug 959222 (part 1) - Make browserid_identity a first-class identity module. r=rnewman 2014-01-28 17:51:09 -08:00
Mark Hammond
32a861c076 Bug 959990 - Add Firefox Accounts specific TOS and PP prefs and have utils functions open them if appropriate. r=rnewman. 2014-01-28 17:51:08 -08:00
Ryan VanderMeulen
80b4682516 Merge m-c to inbound. 2014-01-30 16:36:04 -05:00
Georg Fritzsche
41da9eabcd Bug 928575 - Overhaul FHR data collection for extensions and plugins for desktop. r=gps 2014-01-15 16:12:41 +01:00
Geoff Brown
5d64d66697 Bug 969624 - Skip test_storageservice_client.js on Android 2.3 emulator; r=dminor 2014-02-24 17:51:15 -07:00
Jed Parsons
db7467711f Bug 962849 - FxAccounts.jsm method to resend verification email; r=markh 2014-01-23 16:52:24 -08:00
Mark Hammond
3fc310513b Bug 959548 - Determine what identity manager to use as sync is initialized. r=ckarlof,rnewman 2014-01-14 13:13:08 +01:00
Tim Taubert
079f8fe835 Bug 957421 - Keep FxA pref names consistent r=markh,rnewman,nalexander 2014-01-21 14:13:45 +01:00
Gregory Szorc
3a0b972eef Bug 959356 - Report isWow64 in Firefox Health Report; r=bsmedberg
Previously, we weren't measuring whether the machine was 64-bit
properly. This change allows us to report actual CPU architecture (at
least on Windows).

In the future, we may wish to properly report actual CPU architecture on
all operating systems.

--HG--
extra : rebase_source : 73b5673e870e959a33172ec22fee8c31db6e0e53
extra : amend_source : 64d2e23be07aa87bc5c150b6e613e6226c848ec8
2014-01-17 09:25:39 -08:00
Gregory Szorc
697ef661a8 Bug 961146 - Refactor Health Report documentation, import external docs; r=rnewman
FHR docs were extracted from /services/docs into their own compartment.
This arguably should have been done originally.

Documentation on the payload format has been imported from
https://github.com/mozilla-services/docs. Those docs were created in a
time before we had in-tree docs and this tree is a more logical home for
them.

--HG--
rename : services/docs/healthreport.rst => services/healthreport/docs/index.rst
extra : rebase_source : 4e2fd62cc98ea2620f580e34d032cb39bafb5108
extra : amend_source : bd6309cc9d53aba1b085067960bf20a94125c5b0
2014-01-22 17:47:15 -08:00
Fernando Jiménez
7ac8ce364e 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
Richard Newman
522f265d5d Bug 960322 - Use "BrowserID" in desktop tokenserver authz header, not "Browser-ID". r=rnewman 2014-01-16 22:24:53 -08:00
Fernando Jiménez
1b224586ca 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
9158242d47 Bug 958546 - s/isVerified/verified in all FxAccounts related code. r=markh 2014-01-14 17:00:36 +01:00
Richard Newman
f247e6117c Bug 956936 - Include supported Sync protocol versions in desktop client records. r=gps 2014-01-06 21:45:26 -08:00
Nick Alexander
4d63cb2415 Merge m-c to s-c 2014-01-07 15:22:58 -08:00
Richard Newman
2b2685e8b7 Bug 956442 - Include version in desktop Sync client records. r=gps 2014-01-06 18:41:12 -08:00
Tim Taubert
63400d0e78 Bug 956724 - Fix broken onload handler for DOMWindows r=rnewman
From fdb5e3aab7479a9cf0ff7b78dcd373e296707e56 Mon Sep 17 00:00:00 2001
2014-01-06 16:23:40 +01:00
Richard Newman
959f982c17 Bug 953282 - Fix idle observer notification, after Bug 715041 broke in-tree consumers. r=gps 2013-12-27 21:12:50 -08:00
Tim Taubert
c5ecbf72a9 merge m-c to elm 2013-12-20 15:05:28 +01:00
Mark Hammond
e635bc3f8e Bug 949695 tests followup - fix test_handleSyncError to reset error account so it passes when run twice 2013-12-20 15:57:26 +11:00
Mark Hammond
98088300d6 Bug 949695 tests followup - convert more tests to run with both identity managers. 2013-12-20 15:57:26 +11:00
Mark Hammond
4e4fa44ad1 Bug 949695 tests followup - convert test_service_wipeServer to identity_test infrastructure 2013-12-20 15:57:26 +11:00
Mark Hammond
9d246af555 Bug 949695 tests followup - Add ability to run tests twice - once with each identity manager - and have test_service_startOver use it. 2013-12-20 15:57:26 +11:00
Mark Hammond
934662958e Bug 949259 followup - refactor identity config for tests and remove need to pass params to BrowserIDManager. 2013-12-20 15:57:26 +11:00
Mark Hammond
a662b69b0a Bug 949695 followup - add resetCredentials/resetSyncKey to avoid BrowserID setters from being called. 2013-12-20 15:57:25 +11:00
Wes Kocher
3326bf6cf4 Merge inbound to m-c 2013-12-19 18:58:45 -08:00
Richard Newman
3ac3691abc Bug 947772 - Follow-up: fix sneaky test (disabled on some platforms). r=me 2013-12-19 11:48:23 -08:00
Tim Taubert
6f4002d450 merge m-c to elm 2013-12-19 15:52:32 +01:00
Richard Newman
cf99e6a075 Merge m-c to s-c. 2013-12-18 21:47:50 -08:00
Richard Newman
025976271c Bug 947772 - Sync adds tracker observers regardless of engine enabled state. r=gps 2013-12-18 21:42:17 -08:00
Mark Hammond
99c6903868 dump JSON.stringified error on HAWK.signCertificate error 2013-12-19 16:38:35 +11:00