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

3763 Коммитов

Автор SHA1 Сообщение Дата
Tim Taubert 90bddcfe50 Bug 1113178 - Replace removeAllPages() in services/sync/tests/unit/ r=markh 2015-01-15 20:22:32 +01:00
Richard Newman 5b7f5d1661 Bug 951480 - Disable test_tokenserverclient on Android. a=test-only 2015-01-24 21:38:44 -08:00
Mark Hammond db70551ac0 Backout a7e7d68537a8 (bug 1121325) for xpcshell and bc test failures 2015-01-23 16:32:17 +11:00
Mark Hammond 74a33c82cb Backout 316298f580fd (bug 1121329) for xpcshell and bc test failures 2015-01-23 16:31:37 +11:00
Mark Hammond 55b158c344 Bug 1121329 - fixes to promise handling in FxA and Hawk. r=ckarlof
--HG--
extra : rebase_source : 15858779430c2f4348465ac272a0c9f93b1e0986
2015-01-23 12:05:14 +11:00
Mark Hammond e9d9d17b35 Bug 1121325 - improve sync logging with FxA. r=rnewman/ckarlof
--HG--
extra : rebase_source : bffaf0a16b453315e5c6489b7553a5e59182ab39
2015-01-23 12:05:14 +11:00
Drew Willcoxon a37730838d Bug 1018022 - Improve polling for FxA verification email. r=markh 2015-01-22 16:22:47 -08:00
Stephen Gowan cefa014ff4 Bug 802808 - Tabs engine should explicitly skip its own record. r=rnewman 2015-01-22 08:27:43 -08:00
ffxbld 7769fa7760 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-01-12 15:33:37 -05:00
Avi Halachmi 1a19480584 Bug 1119959: Fix test_TelemetryPing.js for comm-central and simplify it. r=gfritzsche 2015-01-10 09:52:58 +02:00
Wes Kocher 1d86126a67 Merge mozilla-central to fx-team a=merge 2015-01-08 17:17:13 -08:00
Avi Halachmi ee0769840f bug 1106122: Telemetry: Add FHR activeTicks value as simple measurement. r=vladan, r=gfritzsche 2015-01-02 07:28:42 +02:00
Mark Hammond db6d001abd Bug 1119078 - only pre-fetch the sync migration sentinel if using a legacy identity. r=rnewman 2015-01-08 15:47:51 +11:00
Drew Willcoxon 4e67e98eaf Bug 1110336 - Update sync old-dialog-based preferences UI to match FxA migration flows, part 2. r=markh 2015-01-08 15:03:25 -08:00
Mark Hammond 67df6f0217 Bug 1110336 - Update sync old-dialog-based preferences UI to match FxA migration flows, part 1. r=adw 2015-01-08 15:03:22 -08:00
Mark Hammond f3daa22bc7 Bug 1119104 - add a migration=sync11 query param when about:accounts is opened via migration flow. r=adw 2015-01-09 09:53:34 +11:00
Mark Hammond c9f525ae82 Bug 1114445 - update sync migration flows to reflect latest requirements. r=adw 2015-01-07 13:57:38 +11:00
Mark Hammond ec5b22d39d Bug 1113493 - maintain engine state and offer engine customization during migration. r=rnewman/adw 2015-01-07 13:57:38 +11:00
Gavin Sharp 540e1dff0d Bug 1117158 followup followup: typo, a=gavin
--HG--
extra : rebase_source : aac74f7cdd618c1f316ec9eafd76e30ed3833a22
2015-01-05 13:37:32 -08:00
Gavin Sharp 9793510ef5 Bug 1117158 followup: disable GeoIP lookup in services/healthreport/tests/xpcshell/test_provider_searches.js to fix xpcshell bustage on CLOSED TREE 2015-01-05 13:04:05 -08:00
Mark Hammond ee85963eed Bug 1114461 - handle failure fetching sync migration sentinel. r=rnewman 2015-01-02 17:15:21 +11:00
Georg Fritzsche b7d7a3f59c Bug 1113675 - Follow-up: Actually add the diagnostic to the AsyncShutdownTimeout state. 2014-12-24 18:08:45 +01:00
Georg Fritzsche d77edc0a3d Bug 1113675 - Submit which health reporter provider is currently shutting down on AsyncShutdownTimeout. r=gps 2014-12-24 13:32:51 +01:00
Georg Fritzsche ce0524a7d7 Bug 1110681 - The HealthReporter AsyncShutdownTimeout state should include what provider is currently initialized. r=yoric 2014-12-18 16:43:39 +01:00
Mark Hammond 581e2f23cc Bug 1109430 - Sync migrator module should show confirmation after resending verification email. r=adw 2014-12-18 16:14:58 +11:00
Hector Zhao e4e3a38d0a Bug 1103361 - Start/stop sync tracker when engine is enabled/disabled by flipping the pref. r=rnewman
CLOSED TREE

--HG--
extra : amend_source : 22355c1d80609addb52bb884a1927a48613255d4
2014-11-22 16:09:10 +08:00
Wes Kocher 32323d8e22 Merge m-c to fx-team a=merge 2014-12-12 17:43:12 -08:00
Chris Karlof 2b262408ae Bug 1098077 - Add pref to disable HTTPS requirement for FxA local dev r=markh 2014-12-12 16:32:17 -08:00
Ryan VanderMeulen 437abd21ee Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-10 16:01:20 -05:00
Drew Willcoxon 494752c549 Bug 1026342 - Show legacy-Sync-to-Firefox-Accounts migration indicators in the app menu panel. r=markh 2014-12-10 09:33:36 -08:00
Mark Hammond 3832b950cd Bug 1100232 - startOver() should not delete FxA credentials. r=rnewman 2014-12-10 13:02:25 +11:00
Mark Hammond eee996d59f Bug 1017433 (part 2) - allow for upload and download of encrypted sync sentinel. r=rnewman 2014-12-10 13:02:25 +11:00
Mark Hammond ab48c27011 Bug 1017433 (part 1) - Have the sync RecordManager return CryptoWrappers. r=rnewman 2014-12-10 13:02:24 +11:00
Mark Hammond d59ff25498 Bug 1019408 - add facility to block and unblock new syncs starting. r=rnewman 2014-12-10 10:39:23 +11:00
Carsten "Tomcat" Book 2a69ec4f96 Merge mozilla-central to mozilla-inbound 2014-12-10 13:01:03 +01:00
Georg Fritzsche a90ac91a78 Bug 1107686 - Remove redundant task cache check in DataReportingService. r=gps 2014-12-08 12:38:20 +01:00
Mark Hammond bcfa00a2e3 Bug 1019985 - followup to address missing review comment, r=adw. 2014-12-05 16:54:10 -08:00
Mark Hammond c7a1415922 Bug 1019985 - Create module to drive sync migration process. r=adw
--HG--
extra : rebase_source : bfd0ab3dbeb6f230c1f4de88bdf8851560e9a44e
2014-12-05 16:46:16 -08:00
Edouard Oger 39370e2df0 Bug 1085774 - Part 1: add more history URLs to tab records. r=rnewman 2014-11-24 14:40:25 +01:00
Richard Newman f0d2e7de1c Bug 1085774 - Part 0: cleanup in tabs engine. r=trivial 2014-11-30 19:34:58 -08:00
ffxbld 86328535e5 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-11-28 10:54:49 -05:00
Ben Hearsum c970d90a47 Backout bad version bumps IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-11-28 10:51:29 -05:00
ffxbld 615c870714 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-11-28 10:39:09 -05:00
ffxbld 0510d3cd79 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-11-28 10:33:05 -05:00
Felipe Gomes 4b58279592 Bug 1101790 - FHRProvider for UITour, records treatment tag data. r=bsmedberg 2014-11-20 18:21:29 -02:00
Fernando Jimenez f688c6c397 Bug 1101444 - [Loop] For each invalid inserted verification code, Device receives a valid verification code. r=spenrose 2014-11-27 11:53:43 +01:00
Georg Fritzsche f0e9dad73c Bug 1110691 - Submit which health reporter provider is currently shutting down on AsyncShutdownTimeout. r=yoric 2014-12-12 14:50:07 +01:00
Richard Newman 09fa8af5d3 Bug 1097222 - Extend client record format on desktop. r=markh 2014-11-17 19:06:00 -08:00
Edouard Oger 1fbb76c595 Bug 625295 - Allow for per-engine sort parameters to download bookmarks by sortindex. r=rnewman 2014-11-13 20:05:28 +01:00
Mark Banner 8826f41cbe Bug 1099085 - HawkClient, HawkRequest and RESTRequest should support PATCH requests. r=ckarlof 2014-11-17 22:12:26 +00:00
Richard Newman e2273fa7b0 Bug 1097191 - Clean up passwords.js. r=trivial 2014-11-11 11:36:56 -08:00
Stephen Gowan ee4ba0fcf8 Bug 685944 - Warn if response body doesn't match Content-Length header. r=rnewman 2014-11-04 12:42:59 -08:00
Mike de Boer a2c956ceba Bug 1089547: simplify LoopRooms implementation, add support for events. r=Standard8 2014-10-29 14:28:42 +01:00
Chris Manchester 08900914f0 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
Nicholas Nethercote c24a781566 Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Fernando Jimenez dae6e41130 Bug 1086880 - Mobile ID is broken with v188 RIL. r=spenrose 2014-10-24 11:03:30 +02:00
Mark Hammond 4683821ea9 Bug 1063710 - Make Reset Profile write the reset's timestamp to times.json. r=gps 2014-10-23 15:00:23 +11:00
Georg Fritzsche 6527ebfd28 Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-17 17:24:04 +02:00
Carsten "Tomcat" Book 4dad62acf8 Backed out changeset 5513b60463b8 (bug 1064333) for XPCshell test failures on a CLOSED TREE 2014-10-21 14:38:40 +02:00
Georg Fritzsche 6ef325b0bf Bug 1064333 - Migrate the FHR client id to the datareporting service. r=gps 2014-10-15 17:34:53 +02:00
Hector Zhao e0cc25c524 Bug 1034979 - WeaveCrypto unable to initialize on Mac with Brew's system NSS installed. r=rnewman, sr=dolske 2014-10-10 18:15:22 +08:00
Mark Hammond 9c34a28832 Bug 984172 (part 2) - replace Assert_rejects with Assert.rejects. r=ttaubert 2014-10-17 13:06:39 +11:00
Mark Hammond d506248633 Bug 1073639 - disable test_client.js on b2g due to excessive run times. r=spenrose 2014-10-16 12:48:22 +11:00
Jon Morton 1700296f02 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 d947cf32a0 Merge m-c to inbound a=merge 2014-10-13 19:02:56 -07:00
ffxbld 1b7dabd831 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-10-13 13:39:31 -04:00
Sam Penrose a0ff96a82c Bug 1045738 - Allow FxA to sign an assertion while offline if its certificate is viable. r=ferjm 2014-10-07 16:09:54 -07:00
Wes Kocher 0dadefde36 Merge inbound to m-c a=merge CLOSED TREE 2014-10-10 18:58:06 -07:00
Fernando Jiménez 942e33cdee 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 13630eb0e0 Bug 1039500: Fix remaining callers of tabbrowser._getTabForBrowser on a CLOSED TREE. r=Unfocused 2014-10-09 16:26:11 -07:00
Benjamin Smedberg e6c9b80409 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 2ad8f05744 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 c4c00dbea8 merge fx-team to mozilla-central a=merge 2014-10-08 15:53:14 +02:00
Richard Newman 73ee6f0b61 Bug 1042951 - Part 4: document new search location. r=bcolloran 2014-10-07 17:52:21 -07:00
Fernando Jiménez 8f0ad7312a 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 d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Georg Fritzsche 83bed70b0b Bug 1079341 - Missing yield on async makeDir in FHR state init. r=gps 2014-10-10 17:21:18 +02:00
Cosmin Malutan b55cafbf20 Bug 1072244 - Correctly throw the exceptions in TPS framework. r=hskupin DONTBUILD 2014-10-13 14:25:04 -07:00
Robert Strong c6c8475902 Mac v2 signing - Bug 1075981 - Fix loading libnss3.dylib for weave. r=rnewman 2014-10-03 16:48:58 -04:00
Mathias De Maré 5c12058e33 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 cfe7097562 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 8a931577a4 Backed out changesets b08e57dbef4e and 1049cfbf3426 (bug 947044) for various regressions. 2014-09-25 14:32:43 -04:00
Ryan VanderMeulen 240ed29614 Merge m-c to inbound. a=merge
CLOSED TREE
2014-09-24 16:08:33 -04:00
Alan K 5c67a991aa Bug 1069410 - CloudSync should not be using setItemIndex. r=mak 2014-09-23 09:11:00 +02:00
vladikoff f3905cbf49 Bug 1071225 - Fix closing the FxAccountsOAuthClient tab with e10s. r=MattN
--HG--
extra : rebase_source : 5ffdd51c674dfc22ac301ab54b317b9219d8e07f
2014-09-23 17:57:00 -07:00
Fernando Jiménez f0289accb5 Bug 1051746 - [MobileID] Get the proper ICC info by service ID. r=spenrose 2014-09-23 19:58:15 +02:00
Fernando Jiménez f066273b0e Bug 1069920 - Firefox Accounts auth dialog does not wait for password. r=spenrose 2014-09-23 19:58:14 +02:00
Vicamo Yang ede03dd674 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-21 15:24:43 +08:00
Bill McCloskey f88fcd7f26 Bug 1066447 - Make cloudsync test work in e10s (r=ttaubert) 2014-09-18 08:56:55 -07:00
Ryan VanderMeulen 999c921521 Merge b2g-inbound to m-c. a=merge 2014-09-17 14:22:12 -04:00
Cosmin Malutan ca19e6c432 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 02adc342ee 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 44379ca746 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-16 21:20:18 +08:00
Nigel Babu 1da2de4cb7 Merge fx-team to m-c with bustage fix, a=merge 2014-09-16 08:43:45 +05:30
Shu-yu Guo 59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Shu-yu Guo 15262d36a9 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 cea29f173b 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 03e3efbd63 Backed out changeset 9ff2889f236a (bug 1063304) 2014-09-17 13:13:08 +02:00
Nick Fitzgerald 51675a240f Bug 947044 - Part 2: Fix tests that check ReferenceError's message. r=gavin 2014-09-22 16:13:00 +02:00
Wes Kocher bc0c8885af Merge m-c to inbound a=merge 2014-09-23 16:48:23 -07:00
Bill McCloskey cb01bf980d Bug 1069059 - [e10s] Convert isWindowPrivate calls to isBrowserPrivate/isContentWindowPrivate as appropriate (r=mconley,margaret) 2014-09-23 15:48:52 -07:00
Sam Penrose 46408a7e60 Bug 1065477 - Bind FxAccountsProfileClientError to global this for B2G. r=ferjm 2014-09-11 16:02:20 -07:00
Alan K a316f27bea Bug 1052009 - Enable CloudSync in Nightly (mochitest fix). r=gps 2014-09-10 14:54:00 +02:00
Sam Penrose 738b9fb2e4 Bug 1064613 - Move server-side account deletion block in _handleGetAssertionError(). r=ferjm 2014-09-08 16:45:03 -07:00
Richard Newman fc94bb9f69 Bug 1064132 - Listen for wake_notification to evaluate whether to sync. r=markh 2014-09-09 17:16:24 -07:00
Ryan VanderMeulen ca03f2d467 Merge inbound to m-c. a=merge 2014-09-09 19:26:59 -04:00
Sam Penrose 2691734865 Bug 1064606 - Update FxAccountsManager tests with Principal. r=ferjm
CLOSED TREE
2014-09-08 16:32:10 -07:00
Fernando Jiménez da257f02e9 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 8645d53fb9 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 14b5bc554e Bug 993584 - Initial landing for CloudSync. r=rnewman 2014-09-04 21:44:00 +02:00
Ryan VanderMeulen f5859a2048 Merge inbound to m-c. a=merge 2014-09-03 16:38:57 -04:00
Fernando Jiménez fdfb3413cd Bug 1044051 - MobileIdentityClient tests. r=spenrose 2014-09-03 16:21:41 +02:00
Fernando Jiménez 47cb6a754d 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 c04c27b14f Bug 1062224 - [tps] Fix test_tabs.js for non-existent testcase pages. r=hskupin DONTBUILD 2014-09-03 13:06:38 +02:00
ffxbld e1ad3b108d Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-09-02 12:54:33 -04:00
Ryan VanderMeulen 52fab7eaca Merge fx-team to m-c. a=merge 2014-08-30 12:26:22 -04:00
Henrik Skupin 5babe6a55d Backout of 7cb26c341a4e due to new TPS sync failures 2014-08-29 22:37:44 +02:00
vladikoff 1aac91b58c Bug 1058424 - Fixes network error tests in the FxA Profile Client r=mattn 2014-08-29 10:25:41 -07:00
Carsten "Tomcat" Book 8fdc266131 merge fx-team to mozilla-central a=merge 2014-08-29 15:13:15 +02:00
vladikoff 8ec0985c48 Bug 1058424 - Adds a module for fetching FxA profile information. r=MattN 2014-08-28 16:10:00 +02:00
Chris Karlof 2df1223171 Bug 1059391 - Add pref to disable caching of Sync authentication credentials. r=markh
This introduces a debugging pref, "services.sync.debug.ignoreCachedAuthCredentials".
This flag allows testers to disable caching of authentication credentials
to make debugging of expired and revoked credentials easier. This will
help expedite any visble auth errors resulting from a expired or revoked
FxA session token, e.g., from resetting or changing the FxA password.
This pref is not set by default.
2014-08-28 17:21:03 -07:00
Carsten "Tomcat" Book 75e6151d92 Merge mozilla-central to mozilla-inbound 2014-08-28 16:13:13 +02:00
Wes Kocher 7c9c4378df Merge m-c to fx-team a=merge 2014-08-27 17:07:39 -07:00
Chris Karlof 2a436941d9 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 3b2bdcafa8 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 528c7343e7 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 6019b31af3 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 b86bfef458 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 64c4bef1c1 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-20 15:14:31 +01:00
Bill McCloskey 0f6b688b48 Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Gregory Szorc 8ea5c183d9 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 83b68bc241 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 d7c0cf5802 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-19 14:32:54 +01:00
Mark Hammond fe5cb5a31c Bug 1053948 - declare AccountState in fxAccounts. r=gavin 2014-08-19 08:47:37 +10:00
Matthew Noorenberghe a3dff5bee3 Bug 1047130 - Implement desktop backend to login to FxA via OAuth for Loop. r=vladikoff,ckarlof,mikedeboer
This implements the OAuth authorization phase.
2014-08-18 14:32:34 -07:00
Nathan Froyd a9ceaeb4dd Bug 1045617 - move services's run_server.py Makefile rules into mach; r=gps 2014-07-30 15:44:13 -04:00
Nathan Froyd cd91df4210 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 4c895ecac4 Bug 1054476 - use PREF_JS_EXPORTS in services/ Makefiles; r=gps 2014-07-28 14:42:26 -04:00
Georg Fritzsche db980a370f 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 7bf9c63052 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 14f1104ef5 Bug 843452 - Part 4-8: [MobileIdentityManager] Get {voice|data}Info via MobileConnectionService. r=ferjmoreno 2014-08-11 16:24:27 +08:00
Drew Willcoxon 807f12f4d6 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 c8bac35511 Bug 1048989 - Fix 'useless expression' warnings with MERGED_COMPONENT. r=gps 2014-08-07 21:52:05 -07:00
Nathan Froyd e1583db863 Bug 1042226 - move DEFINES += -DAB_CD=$(AB_CD) pattern into config.mk; r=mshal 2014-08-01 12:53:05 -04:00
Daniel Holbert ca2360d064 Bug 1049035: Don't redeclare arg 'msg', in health report function '_recordProviderError'. r=gps 2014-08-05 22:35:30 -07:00
Mark Hammond 1dec47d185 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 0ed9ea0fa6 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 b9a255998a Bug 1013064 (part 3) - only migrate data into the loginmgr when it is unlocked. r=ckarlof
From 86c67f9b9081ce905442c86b38575b3422c8dce3 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 |  25 ++++-
 .../tests/xpcshell/test_loginmgr_storage.js        | 113 +++++++++++++++++++++
 2 files changed, 137 insertions(+), 1 deletion(-)
2014-06-18 15:07:41 +10:00
Mark Hammond 15fe2e0f21 Bug 1013064 (part 2) - Store sensitive FxA credentials in the login manager. r=ckarlof,dveditz
From 4a92f9ee1ba35989f82a24bba18806f8616a5be8 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 | 170 ++++++++++++++++++
 services/fxaccounts/FxAccountsCommon.js            |  13 ++
 services/fxaccounts/moz.build                      |   5 +-
 .../tests/xpcshell/test_loginmgr_storage.js        | 196 +++++++++++++++++++++
 services/fxaccounts/tests/xpcshell/xpcshell.ini    |   2 +
 services/sync/modules/util.js                      |  12 +-
 6 files changed, 396 insertions(+), 2 deletions(-)
 create mode 100644 services/fxaccounts/tests/xpcshell/test_loginmgr_storage.js
2014-06-14 14:33:20 +10:00
Mark Hammond 6e95b5893a Bug 1013064 (part 1) - prompt for master-password unlock when interacting with about:accounts. r=ttaubert
From 18f9d132020afee6004e63c9006245e4d3b04e18 Mon Sep 17 00:00:00 2001
---
 browser/base/content/aboutaccounts/aboutaccounts.js | 9 +++++++++
 1 file changed, 9 insertions(+)
2014-06-11 17:34:24 +10:00