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

3059 Коммитов

Автор SHA1 Сообщение Дата
Mark Hammond 718ce655b4 Bug 1131410 followup - addressing review comments I missed in part1, r=adw/rnewman 2015-02-26 18:48:11 +11:00
Wes Kocher 399ca9a1f5 Merge fx-team to m-c a=merge 2015-02-25 17:39:55 -08:00
Mark Hammond 27f4146bba Bug 1131410 - Extract sync's log management so it can be reused by the reading-list back-end. r=adw 2015-02-17 22:06:00 +01:00
Carsten "Tomcat" Book f0c43be7a0 Backed out changeset cd1f981b5e58 (bug 1131410) for XPC Bustage 2015-02-25 10:41:23 +01:00
Mark Hammond fbda17121a Bug 1131410 - Extract sync's log management so it can be reused by the reading-list back-end. r=adw 2015-02-25 18:54:59 +11:00
ffxbld 26cdf50eea Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-02-23 10:22:56 -05:00
Patrick McManus 7a1c7b71e8 Bug 967792 - Make localhost resolve offline. r=dragana 2015-02-25 14:02:38 -05:00
Ryan VanderMeulen fcc3099d24 Backed out changeset 13d9a5e39eb3 (bug 967792) for Gaia unit test failures.
--HG--
extra : rebase_source : 965ab6a8427a5753309b0e62b97f8287ce3fcc11
2015-02-25 11:39:14 -05:00
Patrick McManus a6c55eb584 bug 967792 - make localhost resolve offline r=dragana
--HG--
extra : rebase_source : b6080cdfc58a5c488b8dbe50741b44556e8f1c63
2015-02-15 13:50:48 -05:00
Christoph Kerschbaumer a6887de13f Bug 1131455 - about:sync-log assertion failure: newly created channel must have a loadinfo attached (r=rnewman) 2015-02-17 19:54:12 -08:00
Chris Peterson 79115c2bac Bug 1133284 - Remove nonstandard expression closures from services/sync. r=rnewman 2015-01-24 23:50:01 -08:00
Birunthan Mohanathas f30cf82b10 Bug 1070709 - Collapse test-only moz.build files under services/ into ancestor moz.build files. r=mshal 2015-02-10 18:47:24 +02:00
Drew Willcoxon 38fdeebcee Bug 1120716 - Offer "learn more" links in the legacy-Sync-to-FxA migration UI. r=markh,Unfocused 2015-02-04 13:59:47 -08:00
Mark Hammond 593aa0f0dc Bug 1097406 - FHR data for sync migration. r=adw/gfritzsche 2015-02-04 17:36:44 +11:00
Brian O'Keefe 1fa0eaa700 Bug 870366 - Part 2: Move PREF_JS_EXPORTS to moz.build (easy moves). r=gps 2015-01-20 13:07:03 -05:00
Mark Hammond a45b29358d Bug 1124956 - Fix Sync engine selection after migration to FxA. r=adw 2015-01-29 10:41:00 +11:00
Christoph Kerschbaumer 7589c49614 Bug 1087741: Make JS callers of ios.newChannel call ios.newChannel2 in services/ (r=rnewman,hskupin) 2014-10-24 15:22:14 -07:00
Masayuki Nakano 7a0cea6729 Bug 936313 part.1 Remove DOM_KEY_LOCATION_MOBILE and DOM_KEY_LOCATION_JOYSTICK r=smaug+mwu+cpeterson, sr=smaug 2015-01-28 22:36:53 +09:00
Mark Hammond 296849b1e3 Bug 1121325 - improve sync logging with FxA. r=rnewman/ckarlof 2015-01-28 10:11:08 +11:00
Mark Hammond 5a5728ae2f Bug 1121329 - fixes to promise handling in FxA and Hawk. r=ckarlof 2015-01-28 10:11:08 +11:00
Tim Taubert 90bddcfe50 Bug 1113178 - Replace removeAllPages() in services/sync/tests/unit/ r=markh 2015-01-15 20:22:32 +01: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
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
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 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
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
Mark Hammond ee85963eed Bug 1114461 - handle failure fetching sync migration sentinel. r=rnewman 2015-01-02 17:15:21 +11: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
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
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
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
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
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
Mark Hammond 9c34a28832 Bug 984172 (part 2) - replace Assert_rejects with Assert.rejects. r=ttaubert 2014-10-17 13:06:39 +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
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Cosmin Malutan b55cafbf20 Bug 1072244 - Correctly throw the exceptions in TPS framework. r=hskupin DONTBUILD 2014-10-13 14:25:04 -07: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
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
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
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
Richard Newman fc94bb9f69 Bug 1064132 - Listen for wake_notification to evaluate whether to sync. r=markh 2014-09-09 17:16:24 -07: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
Henrik Skupin 5babe6a55d Backout of 7cb26c341a4e due to new TPS sync failures 2014-08-29 22:37:44 +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
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
Bill McCloskey 0f6b688b48 Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07: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
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
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 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
Cosmin Malutan 7c0f8cfac6 Bug 990509 - Wait a second after tabs opening before finishing the sync operation. r=aeftimie, r=rnewman 2014-07-31 00:54:00 -04:00
ffxbld 13e1f93153 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-07-21 14:19:15 -07:00
Neil Deakin f191a1b74f Bug 1013064, backout e5dfe9801f76, 11f3a97d1d2c, e2374762f521, 91db8acb8d7e, d0050ba0b875 due to sync issues 2014-07-21 09:09:41 -04:00
Mark Hammond 2702b1e946 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 0a9a6684a2 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 e520f78577 Bug 1013064 (part 2) - Store sensitive FxA credentials in the login manager. r=ckarlof
From 4a92f9ee1ba35989f82a24bba18806f8616a5be8 Mon Sep 17 00:00:00 2001
---
 services/fxaccounts/FxAccounts.jsm                 | 170 ++++++++++++++++++
 services/fxaccounts/FxAccountsCommon.js            |  13 ++
 services/fxaccounts/moz.build                      |   5 +-
 .../tests/xpcshell/test_loginmgr_storage.js        | 196 +++++++++++++++++++++
 services/fxaccounts/tests/xpcshell/xpcshell.ini    |   2 +
 services/sync/modules/util.js                      |  12 +-
 6 files changed, 396 insertions(+), 2 deletions(-)
 create mode 100644 services/fxaccounts/tests/xpcshell/test_loginmgr_storage.js
2014-06-14 14:33:20 +10:00
Kartikaya Gupta 30f43e9c10 Bug 1036444 - Kill touchenter and touchleave events. r=smaug 2014-07-09 10:27:00 -04:00
Gregory Szorc 25170257c3 Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium
--HG--
extra : rebase_source : 1cd9e402c507260358af7a93c6fb2fc91c24994b
2014-07-02 16:43:41 -07:00
Gregory Szorc 04d5343419 Bug 1033836 - Rename services-common to services/common; rs=rnewman
The upcoming build system patches don't support hypthens in path names.
Changing this for that reason is kind of silly, but it's the easiest
way. Besides, nothing else uses hyphens in directory names.

--HG--
extra : rebase_source : 42dda2b1f16a3c0bfe17397a70092362e400530f
2014-07-02 16:49:36 -07:00
Andrew Comminos 549f1eb82f Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-07-07 18:54:14 +09:00
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

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

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

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

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

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Mark Hammond 783db8b7f4 Bug 995599 - prevent services tests hitting the network. r=rnewman
--HG--
extra : rebase_source : f38fefae031f4cbd94215ee61f89a553b1f5c272
2014-06-10 12:02:39 +10:00
ffxbld 5d6165c841 Version bump. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release 2014-06-09 11:50:02 -07:00
Mark Hammond 4a02a78886 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 7369b7f81b Bug 1011343 - don't log username in sync log, r=markh 2014-05-29 12:47:24 +01:00
Paolo Amadini 82d4807bf3 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 a09f70f357 Backed out changeset ca4caf0d721c (bug 853549) for valgrind testfailures 2014-05-28 15:53:13 +02:00
Paolo Amadini e4ede54cb5 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