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

3514 Коммитов

Автор SHA1 Сообщение Дата
Jared Wein d3dba448bd Bug 1330791 - Enable no-else-return rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: 7Os4uZQCDox

--HG--
extra : rebase_source : 8d14b02c97b8024268b5625a633393e75efed117
2017-01-12 18:14:54 -05:00
Jared Wein e1a3fb1d47 Bug 1330791 - Enable the no-useless-call eslint rule for /services and fix associated errors. r=markh
MozReview-Commit-ID: Ixd7jk5G5CB

--HG--
extra : rebase_source : a4c226744a30df49d408a8c904fefa27b1439388
2017-01-12 18:08:10 -05:00
Jared Wein 42349d27b4 Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb

--HG--
extra : rebase_source : 24dc56342d6b1a95df64c0c7c5a1819344cfe603
2017-01-12 18:02:08 -05:00
Jared Wein 0a92e3f3d3 Bug 1330791 - Enable the no-irregular-whitespace rule for /services and fix the associated errors. r=markh
MozReview-Commit-ID: 5rledRlxUl2

--HG--
extra : rebase_source : 662cd590663b6fb5d8efa091704343bd180fabb2
2017-01-12 17:27:34 -05:00
Thom Chiovoloni 0861a8ce52 Bug 1312094 - Don't show 'send to device' for huge or otherwise unsyncable URIs. r=markh
MozReview-Commit-ID: 8Eh23UGOwNv

--HG--
extra : rebase_source : 635e6bf7eb2763e7d417770782270bd636676d39
2017-01-09 17:38:34 -05:00
Jared Wein 43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Wes Kocher f8a62a9ce6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ASajzspkOe1
2017-01-13 15:48:34 -08:00
Florian Quèze 22d9b71466 Bug 1330464 - make the no-useless-parameters eslint rule detect misuses of the Services.prefs APIs, r=jaws. 2017-01-13 20:21:55 +01:00
Florian Quèze 1e42cad36c Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws. 2017-01-13 20:21:53 +01:00
Jared Wein 9a0aefca79 Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
MozReview-Commit-ID: Be36laqLQQ2

--HG--
extra : rebase_source : 48f6fc7a832e51035c04ea825f77a38cb08a7151
2017-01-10 12:08:32 -05:00
Jared Wein 65605f286e Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
MozReview-Commit-ID: EjyAssqiQk8

--HG--
extra : rebase_source : cbfc8d4474b6c3d46eb21374e33fd3341403444f
2017-01-10 12:09:02 -05:00
Iris Hsiao 55313b4bc9 Backed out changeset 7e0a0bd74199 (bug 1330014) 2017-01-13 11:06:43 +08:00
Iris Hsiao 303147b9fa Backed out changeset afe70927277c (bug 1330014) for xpcshell test_storage_manager.js failures 2017-01-13 11:06:38 +08:00
Jared Wein dd7ec3a99b Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
MozReview-Commit-ID: Be36laqLQQ2

--HG--
extra : rebase_source : 05c863e038aa1a6571500f4178c325b1b9913af9
2017-01-10 12:08:32 -05:00
Jared Wein 81cb5e57b9 Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
MozReview-Commit-ID: EjyAssqiQk8

--HG--
extra : rebase_source : d783829bc7fced3044d0d076c4786a6957d29bb6
2017-01-10 12:09:02 -05:00
Ethan Glasser-Camp 90c9daf114 Bug 1320324: deleted values are not handled correctly on sync, r=markh
No tests existed for this functionality either, so add some.

MozReview-Commit-ID: FkHV0GBTHov

--HG--
extra : rebase_source : 3784eca629db62cc1f92a87622afe0f3da091501
2016-12-22 13:37:12 -05:00
Kit Cambridge 08ec8494fb No bug - Log tracker contents in test_telemetry.js to diagnose intermittent failures. a=testonly
MozReview-Commit-ID: 2qUNV7Cz7pd

--HG--
extra : rebase_source : b9c6e4c6adc506f05ef7ec5982444aebdba32fc4
2017-01-11 15:30:25 -07:00
Mark Banner 582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Florian Quèze fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Mark Hammond 5f7905c8f3 Bug 1289536 (part 2) - Add a unique flowID GUID to each command sent via the clients collection. r=rnewman
MozReview-Commit-ID: 4eTFDq4Yr7S

--HG--
extra : rebase_source : faa5cb3ddd41e107b898412b0c9c5899df91c335
2016-11-04 12:46:57 +11:00
Mark Hammond 85c80336b8 Bug 1289536 (part 1) - Add events to Sync ping. r=gfritzsche
MozReview-Commit-ID: 184fIhelOa6

--HG--
extra : rebase_source : bf7c96a473b92a42411fe5c94ac6802d42ff57d5
2016-11-04 17:57:09 +11:00
Thom Chiovoloni 1330224f6a Bug 1301389 - Only include the uid and device ID once in the sync ping. r=markh
Previously this was included for each sync. In addition to being less efficient,
this makes certain info that's planned to be added in the future more difficult.

MozReview-Commit-ID: fjOvAJJVI6

--HG--
extra : rebase_source : edb9a60a101c1110560c1ceb61a927248bed06e9
2016-11-21 16:34:46 -05:00
Kit Cambridge 1897a70d72 Bug 1325523 - Clean up after tests that modify tracker contents. r=markh
MozReview-Commit-ID: 45g4n4UipTW

--HG--
extra : rebase_source : 1be78706cab9b42d0c6c949243b9a835351486fa
2016-12-29 18:18:38 -07:00
David Keeler 104c38c723 bug 1324071 - add nsIPK11Token.hasPassword to replace unnecessary uses of nsIPKCS11Slot.status r=Cykesiopka,gps,MattN,sebastian
MozReview-Commit-ID: C2jwQHPEDC0

--HG--
extra : rebase_source : 16271e70ef32da8657cdc4f8df41b7822430e3bf
2016-12-02 15:09:35 -08:00
Kit Cambridge 4797a3b6cd Bug 1319175 - Switch to `JSONFile` for tracker persistence. r=markh
MozReview-Commit-ID: 6nhGe9aHSk3

--HG--
extra : rebase_source : 43449f689a47287e034b80d3cbdd2fd5fbba44ab
2016-12-20 12:25:27 -07:00
Kris Maglione 22eba76d86 Bug 987512: Part 5 - Remove manual AddonManager promise wrappers. r=rhelmer
MozReview-Commit-ID: LrEiGbQGrt6

--HG--
extra : rebase_source : 38971f7242261e5d8b11d586f6eb033b6364c6cf
extra : histedit_source : 0b9403a97d3f3092b8991e8e6af5095b898dd8c3
2016-12-15 12:03:24 -10:00
Kit Cambridge 8558928fe7 Bug 1322954 - Fix incorrect `instanceof` negations. r=markh
MozReview-Commit-ID: PgQmAu9hbQ

--HG--
extra : rebase_source : 376b83af517442cc05bc46ff7ca36e6ac46b06e2
2016-12-12 13:50:10 -08:00
Wes Kocher b5de71ec44 Merge m-c to autoland, a=merge 2016-12-01 15:46:49 -08:00
Kit Cambridge 666a52df0a Bug 1319037 - Disable trace logging and increase timeout factor for test_bookmark_tracker.js. a=testonly
MozReview-Commit-ID: EmSdy92cYzc

--HG--
extra : rebase_source : 8e15718c657cbd7fd1ecae0bf4a4c86c51a70b8c
2016-11-29 13:21:56 -07:00
Kit Cambridge 52ddf2d3d0 Bug 1319328 - Wait for pending statements before checking annos in test_mobile_query. a=testonly
MozReview-Commit-ID: BW5b0FgvwMD

--HG--
extra : rebase_source : 6af0f95c3aca4e434533bc496f1b695b8c74100d
2016-11-29 13:13:20 -07:00
André Bargull 82ed270fce Bug 1319937 - Remove String generics uses in services/sync. r=markh 2016-11-24 13:17:08 -08:00
Thom Chiovoloni 39c3163cf7 Bug 1321396 - Skip oversized records without aborting the sync by default in sync engines. r=markh
MozReview-Commit-ID: 7hgzyKb2UxY

--HG--
extra : rebase_source : 7c7f238a8e46b0776afe83798061d1539b07f76c
2016-11-30 17:28:52 -05:00
Mark Hammond 632c46235a Bug 1317216 - consistently use the Sync client GUID as the basis for the device ID in the sync ping. r=tcsc
MozReview-Commit-ID: BDTqnM7de6n

--HG--
extra : rebase_source : 169b3ad54dd19b5ef319d1e09684c0fd474e695b
2016-11-10 19:12:55 +11:00
Mark Hammond 40140fc9de Bug 1319323 (part 2) - improve sync unit tests; SyncTestingInfrastructure now uses the FxA identity provider. r=tcsc
MozReview-Commit-ID: 2zpZMpvbAy

--HG--
extra : rebase_source : a33b15a3ef8acf39a7a423694093a690ca519c88
2016-11-22 15:03:47 +11:00
Mark Hammond f3312b9b72 Bug 1319323 (part 1) - improve sync unit tests; remove many ensureLegacyIdentityManager calls. r=tcsc
MozReview-Commit-ID: CV6cpo2Tp5O

--HG--
extra : rebase_source : 03f8fb39e69065bf7263b8bc20e4b2641a247b01
2016-11-21 12:22:24 +11:00
Kit Cambridge 73fba410f4 Bug 1173359 - Exclude hidden pages and framed links from syncing. r=markh
MozReview-Commit-ID: 8I4Sulyr0H7

--HG--
extra : rebase_source : 55fb1ff567c0a2916bc0153a09c41b03d396cfeb
2016-11-22 12:52:09 -07:00
Kit Cambridge ce8909d3fb Bug 1173359 - Convert the history tracker tests to use async functions. r=markh
MozReview-Commit-ID: CFNLQkRa7Qb

--HG--
extra : rebase_source : 086dbe074f6979428e826aa1faa7ab75100a0dad
2016-11-22 12:34:02 -07:00
Mark Hammond 682d81fa5d Bug 1316500 - remove use of tasks and promise.jsm promises from Sync tests. r=tcsc
MozReview-Commit-ID: 5itPSLBKguc

--HG--
extra : rebase_source : 2b16f697902736ef39cded96c1bd98b547136263
2016-11-10 14:34:38 +11:00
Thom Chiovoloni 15acd98009 Bug 1273342 - Don't retry skippable records that fail to sync due to being too large. r=markh
MozReview-Commit-ID: HjzL1crTVDB

--HG--
extra : rebase_source : 887c3364bf0dec05353c2ea7e7c23d6393158fa3
2016-11-21 15:37:35 -05:00
Kit Cambridge 8c2abe0611 Bug 1318414 - Default to empty strings for titles and parent titles if not set. r=rnewman,tcsc
MozReview-Commit-ID: DppxJuVrbAM

--HG--
extra : rebase_source : a214d54fda7d25798039fc9844c34cabd3165a27
2016-11-19 08:29:26 -08:00
Kit Cambridge ccee4d37f5 Bug 1258127 - Add migration logic for old synced bookmarks. r=markh,rnewman
MozReview-Commit-ID: Gye30bYZejy

--HG--
extra : rebase_source : 882c4769d28ad4b56829e5b6037f74c04028f03a
2016-11-18 14:00:56 -08:00
Kit Cambridge 4c26a7b758 Bug 1258127 - Move bookmark deletion logic into `PlacesSyncUtils.bookmarks.remove`. r=tcsc
This patch moves most of `BookmarksStore::deletePending` and
`BookmarksStore::_shouldReviveRemotelyDeletedRecord` into
`PlacesSyncUtils.bookmarks.remove` and `touch`, respectively. Both
methods use the same approach as `PlacesSyncUtils.bookmarks.dedupe` to
amend the `_modified` changeset with new change records.

We use the new `SYNC_REPARENT_REMOVED_FOLDER_CHILDREN` change source to
bump the change counters for the reparented items and their new
parents, without bumping the score and triggering extra syncs.

MozReview-Commit-ID: 1SZvygWNkgL

--HG--
extra : rebase_source : 97fdac6ccb0d0326a3da7e42259dc6a961994ac3
2016-11-17 15:07:14 -08:00
Kit Cambridge 69350f8b7b Bug 1258127 - Move bookmark de-duping logic into `PlacesSyncUtils.bookmarks.dedupe`. r=markh
This patch moves the logic from `BookmarksEngine::_switchItemToDupe`
into `PlacesSyncUtils.bookmarks.dedupe`, and updates it to work with
the new tracker. `dedupe` returns an object containing new change
records, which the bookmarks engine merges into the initial changeset
from `PlacesSyncUtils.bookmarks.pullChanges`.

This patch also removes `changeItemID` and
`PlacesSyncUtils.bookmarks.changeGuid`, since `dedupe` subsumes them.

MozReview-Commit-ID: Iw3YRxWuZnK

--HG--
extra : rebase_source : 6fd80c64b160103e1090b87a300ed74b8ef85eed
2016-11-17 15:04:19 -08:00
Kit Cambridge ccf45973d0 Bug 1258127 - Update the bookmarks engine to pull changes from Places. r=markh
MozReview-Commit-ID: 4YESuxP2rRf

--HG--
extra : rebase_source : 9c2f5830d10ba280e45c30076f19f498e6913fd0
2016-11-17 15:39:15 -08:00
Sebastian Hengst 0849ed2bea Backed out changeset c644b01be649 (bug 1318414) for failing xpcshell test test_bookmark_store.js. r=backout 2016-11-19 09:35:02 +01:00
Kit Cambridge 96702bd1f2 Bug 1318414 - Default to empty strings for titles and parent titles if not set. r=rnewman,tcsc
MozReview-Commit-ID: DppxJuVrbAM

--HG--
extra : rebase_source : 649bc0b945c8a2dd69dade682bf80c874053bc92
2016-11-17 10:42:32 -08:00
Phil Ringnalda 1583627c71 Backed out changeset ca02f30bc3a0 (bug 1316500) for eslint failures 2016-11-16 19:32:10 -08:00
Mark Hammond a5e2bb0e72 Bug 1317589 - store the most recent hashed UID so we can still report it on transient errors renewing tokens. r=tcsc
MozReview-Commit-ID: 4qCFBltcPi1

--HG--
extra : rebase_source : 4ee6b0725729e8db2ba8d18d06dce7816a5e1da3
2016-11-15 16:03:41 +11:00
Mark Hammond e35c5ab29f Bug 1316500 - remove use of tasks and promise.jsm promises from Sync tests. r=tcsc
MozReview-Commit-ID: 5itPSLBKguc

--HG--
extra : rebase_source : 9c0ee4387d4b3d7df56c1e9ccda0ec39cd5b11e2
2016-11-10 14:34:38 +11:00
Mark Hammond 9c1b1b298b Bug 1317587 - don't start scheduled sync after shutdown. r=rnewman
MozReview-Commit-ID: GSyWAUa1qyr

--HG--
extra : rebase_source : 45d0dfd5c686803f017230ab6152d0204a3d4c8e
2016-11-15 15:28:52 +11:00
Mark Hammond e6302fe87d Bug 1317592 - don't try syncing other engines after one fails with a shutdown error. r=rnewman
MozReview-Commit-ID: LZ72JbOtpm4

--HG--
extra : rebase_source : 00493ea6d24470e5b45a2d42e8b64468427f89d3
2016-11-15 16:15:03 +11:00
Mark Hammond 136eb80ff1 Bug 1303831 - have _buildGUIDMap yield to the event loop and have it abort on shutdown. r=rnewman,tcsc
MozReview-Commit-ID: Ff8mq9eHBsQ

--HG--
extra : rebase_source : ab891da610a03791d6c13ea35fc5cd44d305a175
2016-11-15 17:01:22 +11:00
Kit Cambridge 6cd5db91d6 Bug 1303679 - Remove Places roots, reading list items, and pinned sites from the Sync server. r=markh
MozReview-Commit-ID: AhOBOnXsTYi

--HG--
extra : rebase_source : 1f39b406b1a9215ca04ff4602cc8fac54163916f
2016-11-09 14:23:54 -08:00
ffxbld d07aca95ba Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-11-14 13:29:32 +01:00
Ethan Glasser-Camp ba082acec6 Bug 1253740 - Handle password resets more correctly, r=markh
MozReview-Commit-ID: 1mSvbsYP9fV

--HG--
extra : rebase_source : 24676ce50564a291ce4fdcce40633f76e381bb46
extra : intermediate-source : 385eb385501deec773b4680e64e8014bddaf0edb
extra : source : 8595b3a68fbd2dccbe63324524fd9532ea62bca5
2016-09-30 12:12:58 -04:00
Ethan Glasser-Camp 2ee9c896d5 Bug 1253740 - Add crypto, including tests, r=rnewman
MozReview-Commit-ID: Jq8QRoNtPwb

--HG--
extra : rebase_source : 3524b723c3bf14263b54a97e4b21256d9abd180f
extra : source : 66877faacf75cd4de31ae868ce034d254ec8a080
2016-09-08 14:21:18 -04:00
Ethan Glasser-Camp ff10caa15d Bug 1253740 - Introduce extension-storage engine with a sanity test, r=markh
Note that this "enables" the engine using a pref, even though it might
not be ready yet, so that the tests can pass.

MozReview-Commit-ID: AZ0TVERiQDU

--HG--
extra : rebase_source : 8ca202c1ec79e068fb9395207792942a228d4433
extra : intermediate-source : 93f41b72d8e7023b5f22c727436e836de87c9ca7
extra : source : 183547f4dbbedc9ee3399b6a474016d0e89a12e8
2016-09-08 14:23:12 -04:00
Wes Kocher 57c08b3b40 Backed out 9 changesets (bug 1253740) for xpcshell failures a=backout
Backed out changeset 903890f218dd (bug 1253740)
Backed out changeset 1b13fe394b66 (bug 1253740)
Backed out changeset e1312ab53299 (bug 1253740)
Backed out changeset 5b5338a2baeb (bug 1253740)
Backed out changeset d3d89d4e2d87 (bug 1253740)
Backed out changeset 96da5e6944b8 (bug 1253740)
Backed out changeset 4fbff333994f (bug 1253740)
Backed out changeset 653788e146f2 (bug 1253740)
Backed out changeset b98fa03d8c15 (bug 1253740)
2016-11-11 18:59:24 -08:00
Ethan Glasser-Camp 4a15ce8b0b Bug 1253740 - Handle password resets more correctly, r=markh
MozReview-Commit-ID: 1mSvbsYP9fV

--HG--
extra : rebase_source : 05079dfd76cebd960efa703fa445a20ce466093c
extra : intermediate-source : 385eb385501deec773b4680e64e8014bddaf0edb
extra : source : 8595b3a68fbd2dccbe63324524fd9532ea62bca5
2016-09-30 12:12:58 -04:00
Ethan Glasser-Camp 8be871dd00 Bug 1253740 - Add crypto, including tests, r=rnewman
MozReview-Commit-ID: Jq8QRoNtPwb

--HG--
extra : rebase_source : f00b8108330a244229cf8b409bc59a4c5f331e2c
extra : source : 66877faacf75cd4de31ae868ce034d254ec8a080
2016-09-08 14:21:18 -04:00
Ethan Glasser-Camp 138ba0ff0a Bug 1253740 - Introduce extension-storage engine with a sanity test, r=markh
Note that this "enables" the engine using a pref, even though it might
not be ready yet, so that the tests can pass.

MozReview-Commit-ID: AZ0TVERiQDU

--HG--
extra : rebase_source : 3078b86c4255afd66a9c4faf895dc2b6fc43a152
extra : intermediate-source : 93f41b72d8e7023b5f22c727436e836de87c9ca7
extra : source : 183547f4dbbedc9ee3399b6a474016d0e89a12e8
2016-09-08 14:23:12 -04:00
Thom Chiovoloni cd0986ddc7 Bug 1311782 - Make the sync bookmark validator ignore the title for bookmark roots r=markh
MozReview-Commit-ID: Ji1Sar0ld7j

--HG--
extra : rebase_source : 306a7103c63c62059cf05d0966cba405f7aef630
2016-11-08 12:13:37 -05:00
Thom Chiovoloni 8363f8b9c7 Bug 1313573 - Validate the sync ping during TPS test runs r=markh
MozReview-Commit-ID: Jy7VpAvhbPf

--HG--
extra : rebase_source : 36dce5d68a7236d90af50756ac58dbe021d35f4f
2016-11-02 14:25:07 -04:00
Sebastian Hengst 0dc4492dd2 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: services. r=RyanVM
MozReview-Commit-ID: DuzsFEaAeYr

--HG--
extra : rebase_source : b6c4cb95bf0563b0abd48949d50d2c156c86602b
2016-11-05 11:29:21 +01:00
Phil Ringnalda 0f32b67e2d Merge m-i to m-c, a=merge
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
André Bargull 866168d23c Bug 1313798 - Remove Date.prototype.toLocaleFormat uses in services/sync. r=rnewman 2016-10-28 15:31:30 -07:00
Sebastian Hengst 900199872a Backed out changeset 39e08d903b48 (bug 1253740) 2016-11-02 16:40:07 +01:00
Sebastian Hengst a3865de0a1 Backed out changeset 77be2faa619f (bug 1253740) 2016-11-02 16:40:03 +01:00
Sebastian Hengst 55e6f64d89 Backed out changeset a73da05c87ba (bug 1253740) 2016-11-02 16:39:42 +01:00
Thom Chiovoloni 7799bcc52b Bug 1312031 - Fix failing TPS test_sync.js test. r=markh
This required:

1. Using the same method of updating keywords used by PlacesSyncUtils. Calling
into PlacesSyncUtils directly is not possible here, since it would pass
SOURCE_SYNC as the source, which would ensure that we ignore the changes).
2. Ensuring that we update the keyword *after* the URI in TPS.

Note that neither one of these changes on their own was sufficient.

MozReview-Commit-ID: Ls4kEVBHdNc

--HG--
extra : rebase_source : f97ff29cdcdadd444fd70df98d97354de10511eb
2016-11-01 13:16:38 -04:00
Thom Chiovoloni b9e92c7821 Bug 1309774 - Part 2. Add version number to validation data in sync ping. r=markh
MozReview-Commit-ID: FlDSEsT1ah9

--HG--
extra : rebase_source : 327bcac18dba5c685092e311e2be880b6d616e07
2016-10-20 15:20:07 -04:00
Thom Chiovoloni c392f4a9b5 Bug 1309774 - Part 1. Sync bookmark validator should only expect to see children of roots on server. r=markh
MozReview-Commit-ID: EEoDmsnBraA

--HG--
extra : rebase_source : f122432d49a820e5e0857d82760737bd846bf377
2016-10-20 15:17:33 -04:00
Ethan Glasser-Camp 882fdd80ee Bug 1253740 - Handle password resets more correctly, r=markh
MozReview-Commit-ID: 1mSvbsYP9fV

--HG--
extra : rebase_source : 08d1c6356505a8b60b67e44543c7205c6ba52e54
extra : intermediate-source : 385eb385501deec773b4680e64e8014bddaf0edb
extra : source : 8595b3a68fbd2dccbe63324524fd9532ea62bca5
2016-09-30 12:12:58 -04:00
Ethan Glasser-Camp 1ecd3de17d Bug 1253740 - Add crypto, including tests, r=rnewman
MozReview-Commit-ID: Jq8QRoNtPwb

--HG--
extra : rebase_source : c1eae5a9f720b02bf8aaa0f9b5bb2d205d037677
extra : source : 66877faacf75cd4de31ae868ce034d254ec8a080
2016-09-08 14:21:18 -04:00
Ethan Glasser-Camp adbd884871 Bug 1253740 - Introduce extension-storage engine with a sanity test, r=markh
Note that this "enables" the engine using a pref, even though it might
not be ready yet, so that the tests can pass.

MozReview-Commit-ID: AZ0TVERiQDU

--HG--
extra : rebase_source : e8518187e3a4f404bad193ce26f6c523ec06abe0
extra : intermediate-source : b052cf501ce8a838706f63f46eb6262b63ac5560
extra : source : 183547f4dbbedc9ee3399b6a474016d0e89a12e8
2016-09-08 14:23:12 -04:00
Thom Chiovoloni 665270b3e6 Bug 1312320 - Report mozIStorageError properly in sync ping r=markh
This required adding a new error type to the sync ping.

MozReview-Commit-ID: LoGEjI0hFRo

--HG--
extra : rebase_source : 579c33d5c4b762ac99ba39cb10bd6d4cb4c428d0
2016-10-24 11:13:26 -04:00
Mark Hammond ccb60bff9c Bug 1312021 - ensure the addonsreconciler always has the isSyncable attribute. r=tcsc
MozReview-Commit-ID: AlYZCCrEvLV

--HG--
extra : rebase_source : 361974273a7048f090fb4caa1310b983b67f082c
2016-10-25 17:53:44 +11:00
Kit Cambridge f8747ad476 Bug 1312857 - Pass the correct change sources in `getOrCreateTagFolder` and `importJSONNode`. r=markh
MozReview-Commit-ID: Gga9kiC3AxK

--HG--
extra : rebase_source : 0b07551617c277aeaec619d0a4432874fc77e9ec
2016-10-25 11:39:56 -07:00
Thom Chiovoloni 628bd1ae87 Bug 1312015 - Ensure that TPS catches failures when generating sync telemetry r=markh
MozReview-Commit-ID: HdXROi6Ctcj

--HG--
extra : rebase_source : e5f980222f0323c8aaff5f934e606092691d80cb
2016-10-25 12:13:34 -04:00
Kit Cambridge 6a43fd2448 Bug 1312494 - Fix up queries that point to the wrong folder in `_ensureMobileQuery`. r=tcsc
This patch also reports validation errors for left pane queries on the
server, and removes incorrect mobile query migration code.

MozReview-Commit-ID: FT7kAZJapqE

--HG--
extra : rebase_source : 1aa2a14a245bc0bb2a044d951a4c5d274b9d9f13
2016-10-24 12:06:00 -07:00
Thom Chiovoloni 1debb3df7a Bug 1294599 - Implement batched downloads of sync collections on desktop r=markh,rnewman
MozReview-Commit-ID: 6la9t1FxQhH

--HG--
extra : rebase_source : 6fb7df03219bc5643eefc9683bd584325193f3e1
2016-10-06 17:52:27 -04:00
Thom Chiovoloni 4539cf2325 Bug 1311611 - Fix property typo in sync ping building code. r=markh
MozReview-Commit-ID: AOl4Nq9Y6WX

--HG--
extra : rebase_source : c7dde488e62527b18af2823623a92fb515598248
2016-10-21 10:32:40 -04:00
Thom Chiovoloni 0117e0cf73 Bug 1299978 - Reupload parents of revived bookmarks and buffer folder deletion during sync r=markh,rnewman
MozReview-Commit-ID: BDfp5FffCWh

--HG--
extra : rebase_source : 0caecb27d753577373e150dd770370bd328dbe32
2016-10-05 14:04:50 -04:00
Thom Chiovoloni b072bd5c1e Bug 1311557 - Ensure custom sync engines aren't reported in sync ping. r=markh
MozReview-Commit-ID: 1aRxo9JcCLn

--HG--
extra : rebase_source : d0136d682c656fe257fbef7c47cf793d0478cad8
2016-10-20 20:05:03 -04:00
Kit Cambridge e32178708e Bug 1310941 - Fix `BookmarksTracker.onItemChanged` arguments to avoid triggering syncs for remote changes. r=tcsc
MozReview-Commit-ID: K1OcL5m6opv

--HG--
extra : rebase_source : 610d395625a0c4841298331163bc55b89bf7fb31
2016-10-18 08:26:43 -07:00
Sebastian Hengst 9f8d517918 Backed out changeset 3ae77edf8ed2 (bug 1310941) for frequent intermittent xpcshell failure in test_bookmark_engine.js. r=backout 2016-10-18 21:45:09 +02:00
Kit Cambridge 5c7c675383 Bug 1310941 - Fix `BookmarksTracker.onItemChanged` arguments to avoid triggering syncs for remote changes. r=tcsc
MozReview-Commit-ID: K1OcL5m6opv

--HG--
extra : rebase_source : 5c1fb39a027cfebb363a8031639256d3ae7c86d0
2016-10-18 08:26:43 -07:00
Thom Chiovoloni be9c5a302c Bug 1308567 - Include information about associated devices in sync ping r=bsmedberg,markh
MozReview-Commit-ID: 45c4skQHswy

--HG--
extra : rebase_source : 794f0b0d453596fdec84066bfbb966d81da62372
2016-10-11 14:07:52 -04:00
Mark Hammond 6cbb6e1ffe Bug 1310525 - don't exceed sqlite's max variable limit when many changed bookmarks exist. r=kitcambridge
MozReview-Commit-ID: H2l2L9fZm9t

--HG--
extra : rebase_source : 128c420cf7dc7d6ba1ef71bbc99be5a518a1dcab
2016-10-17 12:54:05 +11:00
Kit Cambridge 07d9b90407 Bug 1302288 - Implement `PlacesSyncUtils.bookmarks.fetch`. r=markh
MozReview-Commit-ID: 2CcE8DxHott

--HG--
extra : rebase_source : 7af66f06b889ca956cde0ff4499fcc6e74336e5c
2016-09-19 14:53:43 -07:00
Thom Chiovoloni c9102d7409 Bug 1308841 - Sanity check client-side bookmark roots in sync validator r=markh
MozReview-Commit-ID: 6Y5qfCtVYWf

--HG--
extra : rebase_source : e02121eea46e1625d7ce202e9b379cdf4d3254f9
2016-10-11 12:54:01 -04:00
Wes Kocher 60716bbb13 Backed out changeset 62f88acbfd5a (bug 1308841) for xpcshell failures a=backout 2016-10-12 11:15:13 -07:00
Kit Cambridge 8d01843b2f Bug 1309647 - Remove remaining uses of `BookmarkSpecialIds` from `_ensureMobileQuery`. r=tcsc
MozReview-Commit-ID: A6u6SIx2jBL

--HG--
extra : rebase_source : 9ff9a42971d73e7d34755085fd70e8bd94930443
2016-10-12 10:56:00 -07:00
Thom Chiovoloni 7428366743 Bug 1308841 - Sanity check client-side bookmark roots in sync validator r=markh
MozReview-Commit-ID: 6Y5qfCtVYWf

--HG--
extra : rebase_source : b2fb725a1d2257431a6bc36870d30acd567589bf
2016-10-11 12:54:01 -04:00
Kit Cambridge 484808a00f Bug 1295521 - Add a `toSyncBookmark` method and clean up `BookmarksStore`. r=markh
MozReview-Commit-ID: 3h2qnOtNPN9

--HG--
extra : rebase_source : 0d657035d02c8bd261f1124072d6a248c94c7e09
2016-09-20 01:52:58 -07:00
Kit Cambridge e33c30fb05 Bug 1295521 - Remove `BookmarkSpecialIds` from Sync. r=markh,tcsc
MozReview-Commit-ID: IUVOu0jFXRv

--HG--
extra : rebase_source : 40f23512b976595a094bd4491db434958ae381a1
2016-09-16 14:08:10 -07:00
Thom Chiovoloni 27428f453d Bug 1308994 - Use encodeURIComponent on sync upload batch id, and fix configuration checking r=markh
MozReview-Commit-ID: 1OqryC5oQOj

--HG--
extra : rebase_source : a82822bbe49ff7cfb46ec719cb4499666cac134c
2016-10-10 14:02:13 -04:00
Kit Cambridge 80c9bf152c Bug 1302901 - Remove mobile root creation from Sync. r=markh
MozReview-Commit-ID: 6fphDT1Owni

--HG--
extra : rebase_source : e10d28315b4b6c4d008ad9d5ba5823cd2605e18a
2016-09-15 17:15:20 -07:00
Thom Chiovoloni 3d449661d1 Bug 1308240 - Fix missing `this.` in Sync's Collection's getters. r=markh
MozReview-Commit-ID: BsYFmkCMYU5

--HG--
extra : rebase_source : b816c2d85bd51e83d1cf5f62a0d13648c44ab824
2016-10-06 11:54:59 -04:00
Thom Chiovoloni a37575012a Bug 1236897 - Split up sync's test_errorhandler.js into two smaller tests r=markh
MozReview-Commit-ID: K9bVn6nNGk7

--HG--
extra : rebase_source : 6272cf286a3dc5dc3f533f04d87226d9a599a550
2016-10-06 11:37:44 -04:00
Thom Chiovoloni 3e4ccfdb57 Bug 1286915 - Implement a validator for the sync addons engine. r=markh
MozReview-Commit-ID: 2sGNs9BUoXt

--HG--
extra : transplant_source : %FBJ%F9%D5%B3%95%E9%A6%10M%CBV%3A%08y%A1%DFsC%DD
2016-09-22 17:29:01 -04:00
Thom Chiovoloni 1a6d2a1483 Bug 1297238 - Make sync forms tracker respect ignoreAll property r=markh
MozReview-Commit-ID: AuIWNcRux3b

--HG--
extra : rebase_source : e940a484b58fdcd1b6fbf2cdad833599d22d5afe
2016-09-23 13:58:19 -04:00
Thom Chiovoloni ae63800553 Bug 1249520 - Add client support for a fxa-client-configuration endpoint r=markh
MozReview-Commit-ID: 4jTl1yIduKG

--HG--
extra : rebase_source : 0df65d2841f61fa3265453d3eff52a67d76c7276
2016-09-21 15:07:28 -04:00
Iris Hsiao a95e0164c0 merge fx-team to mozilla-central a=merge 2016-09-26 18:29:38 +08:00
Thom Chiovoloni 9e7ce515e3 Bug 1304865 - Replace remaining uses of _itemSource with itemSource in sync and tps. r=markh
MozReview-Commit-ID: 8FO6vSPAnDZ

--HG--
extra : transplant_source : %82L%8E%18%27%8F%C1%A0%9CM%B6%1Es%F0%10%E8%10%FE%D7%CE
2016-09-22 16:31:08 -04:00
Mark Hammond 126cb4d91c Bug 1276969 - Remove parentName checks from the bookmark validator. r=tcsc
MozReview-Commit-ID: KnF1wiluMBm

--HG--
extra : rebase_source : e0d8bb11a97dc1f129543726c71ac80db778a4ec
2016-09-22 17:25:22 +10:00
Kit Cambridge 68481200d7 Bug 1303405 - Ensure `RemoveFolderTransaction::UndoTransaction` passes the reinserted GUID to observers. r=mak
MozReview-Commit-ID: 5HpDKEmsjRW

--HG--
extra : rebase_source : ac15fa1b1e1aa6b520a13ab29decf371c66b73e3
2016-09-16 13:22:47 -07:00
Mark Hammond 9ae1545799 Bug 1303945 - Avoid having TPS write directly to the form history database and remove private-browsing tests. r=tcsc
MozReview-Commit-ID: JsPGSJpQ7b1

--HG--
extra : rebase_source : 42011ef085f1d119d43b14c2ac0619777fcb2c68
2016-09-20 17:04:50 +10:00
Carsten "Tomcat" Book de2be84723 Backed out changeset ce23198d0d58 (bug 1303945) on request from mark 2016-09-22 09:17:47 +02:00
Mark Hammond c0080d341a Bug 1303945 - Avoid having TS write directly to the form history database and remove private-browsing tests. r=tcsc
MozReview-Commit-ID: JsPGSJpQ7b1

--HG--
extra : rebase_source : 713e765fb617f308e9c4ca2dcce9fef32aa714b9
2016-09-20 17:04:50 +10:00
Thom Chiovoloni 2664672a1a Bug 1267917 - Hook the sync bookmark validator into the new sync telemetry ping r=bsmedberg,markh
MozReview-Commit-ID: ECACktrOhRG

--HG--
extra : rebase_source : f4abf7ee1c865c925a6ee0f2418fa563edc9f4bb
2016-09-12 14:59:25 -04:00
Thom Chiovoloni 6237f6e281 Bug 1022215 - Increase the number of seconds the sync scheduler tests are willing to wait before failing from 1 to 3. r=markh
MozReview-Commit-ID: IU2LW9xDWDS

--HG--
extra : rebase_source : 1df2a13e1fed7ecba83a61f1ccf62cc3c0a18cd1
2016-09-20 15:03:06 -04:00
Thom Chiovoloni 28e8c3a726 Bug 1297400 - Check for client cycles in the client tree in the bookmark validator r=markh
MozReview-Commit-ID: H0L6wbszmpc

--HG--
extra : rebase_source : ce9f606d76726dc51947d9abb17d354b91553171
2016-09-19 11:00:04 -04:00
ffxbld 857d1ac980 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-09-19 09:45:57 -04:00
Mark Hammond 7b00b004c4 Bug 1276823 - ensure bookmarks engine tracks parents when de-duping incoming bookmarks. r=rnewman
MozReview-Commit-ID: ym58KTB89b

--HG--
extra : rebase_source : 2090299a4ce68fac2979f85e5886c3c5e10c61c3
2016-07-05 16:02:19 +10:00
Thom Chiovoloni 96fb7b43b9 Bug 1286923 - Implement sync validator for forms and integrate with TPS r=markh
MozReview-Commit-ID: psZteJajT

--HG--
extra : rebase_source : cd4c7ab8a2bfc1fa86ea6433fa158d9b28267b78
2016-09-08 11:14:30 -04:00
Kit Cambridge 57bc3e0a3b Bug 1302286 - Remove `_getNode` and `_getChildren` from the bookmarks engine. r=markh
MozReview-Commit-ID: 4rsWiz1uzjN

--HG--
extra : rebase_source : 846f75b3993cd7cab8d303b5faefd2281433053b
2016-09-13 17:02:30 -07:00
Thom Chiovoloni 4c8aff6678 Bug 1299784 - Include a hashed version of the device ID with the sync ping r=bsmedberg,markh
MozReview-Commit-ID: 3sPSeBNrF8z

--HG--
extra : rebase_source : 518a0790ef4445539cd283d1b8c2f0cdc1c471ec
2016-09-07 16:49:21 -04:00
Kit Cambridge be1b540390 Bug 1274496 - Filter excluded bookmarks at sync time based on their root. r=markh,rnewman
MozReview-Commit-ID: 6xWohLeIMha

--HG--
extra : rebase_source : 122b3026ff9608f5f528665e3c529aa92c010b5a
2016-09-06 11:39:13 -07:00
Thom Chiovoloni 9eab4938a0 Bug 1253051 - Implement atomic uploads for sync collection data r=rnewman
MozReview-Commit-ID: Hm9NbnC2Vk8

--HG--
extra : rebase_source : b2ce2acfcee20db9c51576ecedcc4e680ec4b13a
2016-08-24 16:02:14 -04:00
Thom Chiovoloni 4a452f4c0c Bug 1295582 - Fix sync bookmark validator bugs around missing parents and orphans r=markh
MozReview-Commit-ID: LXZuK7ny7Ei

--HG--
extra : rebase_source : 373864128e2d94efdbe0fe83a9cf62358d144898
2016-08-25 15:39:56 -04:00
Mark Hammond 82a5360189 Bug 1301289 - send accumulated sync pings earlier in the shutdown process. r=tcsc
MozReview-Commit-ID: Ls6HeieFi1H

--HG--
extra : rebase_source : c7aec6c0744c81b971af00802ee27ae63b36e0fe
2016-09-08 15:05:11 +10:00
Wes Kocher 4d6a452635 Backed out changeset 09e3f293166a (bug 1301289) for xpcshell failures a=backout 2016-09-08 17:41:11 -07:00
Mark Hammond ae81336c39 Bug 1301289 - send accumulated sync pings earlier in the shutdown process. r=tcsc
MozReview-Commit-ID: Ls6HeieFi1H

--HG--
extra : rebase_source : dbed75f0938db887d8823eb084bb730888b595ef
2016-09-08 15:05:11 +10:00
Thom Chiovoloni 5ed35f42f9 Bug 1286918 - Implement sync validator for passwords engine and integrate with TPS r=markh
MozReview-Commit-ID: 3cTvMmRFT8D

--HG--
extra : rebase_source : 65bc4d593e16a347cf2acfce6d90a165e85a6554
2016-09-06 13:38:49 -04:00
Kit Cambridge 43ffc0fef1 Bug 1299338 - Replace `ignoreAll` with change source checks in the Sync bookmarks engine. r=markh
MozReview-Commit-ID: DAsTlQbFanK

--HG--
extra : rebase_source : f04946571993194c115fb62a08bd50a4a6b8ff83
2016-09-06 08:36:21 -07:00
Mark Hammond 96e2434ff7 Bug 1287748 - set the lightweight theme directly when Syncing the theme preference. r=Gijs
MozReview-Commit-ID: 9t3nxAitYrC

--HG--
extra : rebase_source : 188bfcbbeb71c9c9189783931750cb5ecc5a3c61
2016-09-01 11:57:05 +10:00
Kit Cambridge dbdecec537 Bug 1294291 - Remove missing GUID handling code from Sync and Places. r=markh
MozReview-Commit-ID: CbhF4s0nNr0

--HG--
extra : rebase_source : ab07f772354ff613a3e768db119e9b60dc49daa0
2016-09-06 11:29:32 -07:00
Thom Chiovoloni 20ce7e9551 Bug 1299746 - Remove unused isBrowerIdAuthError function r=markh
MozReview-Commit-ID: 7Cd5CPJsoG1

--HG--
extra : rebase_source : 8a5bd64ef10440a18ad9392ebd6470df90f26b17
2016-09-01 16:14:01 -04:00
Thom Chiovoloni ac2f0b721a Bug 1295058 - Make sync ping only submit every 12 hours or on browser shutdown r=gfritzsche,markh
MozReview-Commit-ID: 9BcMGAP0w7U

--HG--
extra : rebase_source : d55fdc6cd058a265d90044c49e0e69bff1e499d6
2016-08-31 12:50:34 -04:00
Ryan VanderMeulen 6432bf9268 Merge m-c to autoland. a=merge 2016-09-01 12:17:16 -04:00
Kit Cambridge 7efd66b723 Bug 1299620 - Check the entire bookmarks tree in test_bookmark_order. r=markh
MozReview-Commit-ID: E0Q31NuRTFK

--HG--
extra : rebase_source : 745f74b576537bbe7e9be58c6638b55eea1b10ce
2016-08-29 13:19:26 -07:00
Aryeh Gregor 76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Mark Hammond 9c0325a862 Bug 1273343 - make more log noise on resource exceptions and errors. r=tcsc
MozReview-Commit-ID: 6pa8MvoNnwb

--HG--
extra : rebase_source : ebc7b2018a4574eca8e1405ee3f7567022837d4a
2016-08-25 18:33:01 +10:00
Phil Ringnalda a1787bb51c Backed out changeset ed6a8987ada4 (bug 1273343) for test_resource.js failures 2016-08-26 00:07:19 -07:00
Mark Hammond b35ef0d504 Bug 1297974 - correctly handle shutdown exceptions while applying incoming records. r=rnewman
MozReview-Commit-ID: 7vgaD1yLdb4

--HG--
extra : rebase_source : 5ab827785f6738c5c2e7732f52433830857350ca
2016-08-22 14:36:29 +10:00
Mark Hammond 0dca4464fe Bug 1273343 - make more log noise on resource exceptions and errors. r=tcsc
MozReview-Commit-ID: 6pa8MvoNnwb

--HG--
extra : rebase_source : b416c72d2966d8a1fab5fe68a2b46f731b08ea7e
2016-08-25 18:33:01 +10:00
Aryeh Gregor f3e54042f1 Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Edouard Oger 85d146f160 Bug 1289287 - Store Sync clients outgoing commands in a different collection until uploaded. r=markh
MozReview-Commit-ID: AanLQ9cYXDI

--HG--
extra : rebase_source : 92a0bb5603594072b436422ddcd7612edbb08ac8
2016-08-11 11:01:15 -07:00
Wes Kocher 94d00e234e Backed out changeset 80e37d9a9623 (bug 1289287) for xpcshell bustage a=backout 2016-08-22 16:17:59 -07:00
Edouard Oger 487ecd14d0 Bug 1289287 - Store Sync clients outgoing commands in a different collection until uploaded. r=markh
MozReview-Commit-ID: AanLQ9cYXDI

--HG--
extra : rebase_source : 47895a2b7baf047ed0cdc3e134c3a5ebdf6fa734
2016-08-11 11:01:15 -07:00
Thom Chiovoloni 8fcd1dab90 Bug 1296761 - Handle serverside places root in sync bookmark validator better r=markh
MozReview-Commit-ID: JzNWFCLSMcZ

--HG--
extra : rebase_source : 3eb2c303494b9ee36e73aaca96f8a55b26e73126
2016-08-19 17:49:19 -04:00
Mark Hammond 6e0ef71f41 Bug 1298752 - Avoid including the profile directory in sync pings. r=tcsc
MozReview-Commit-ID: IA8jQ8No1Rv
2016-08-31 22:42:58 -04:00
Thom Chiovoloni 98df436e16 Bug 1288445 - Use new hashed_fxa_uid field instead of the real FxA UID in sync telemetry ping. r=bsmedberg,markh
MozReview-Commit-ID: DhlIEvyrtlL

--HG--
extra : rebase_source : b8a45bf1c13be13ff00c8dc3a9cdd8f0504908f3
2016-08-09 12:28:35 -04:00
Mark Hammond e895d544ee Bug 1295410 - ensure we don't pass string objects for GUIDs to PlacesSyncUtils. r=kitcambridge
MozReview-Commit-ID: 8muV3ltTfSx

--HG--
extra : rebase_source : 3a7f7aa5d529a387f5c151a07b1f573c4b6e9eb0
2016-08-16 13:05:50 +10:00
Kit Cambridge 2aee7885cb Bug 1285408 - Add change source tracking for bookmarks. r=markh
MozReview-Commit-ID: I6IWhMWR1bG

--HG--
extra : rebase_source : b331e448871e44ee51923b4c512e0b8ad4206cd4
2016-08-11 13:13:22 -07:00
Wes Kocher 66c318b349 Backed out changeset e4437c4da937 (bug 1288445) for xpcshell failures a=backout 2016-08-12 19:06:00 -07:00
Edouard Oger b55da91b9a Bug 1289932 - Send/Handle push messages for send tab to device. r=markh
MozReview-Commit-ID: WD4XzRtl86

--HG--
extra : rebase_source : 418c96ee8a3311c9724862a3385749ddddd339ce
2016-08-02 10:09:30 -07:00
Thom Chiovoloni e8d58192dd Bug 1288445 - Use new hashed_fxa_uid field instead of the real FxA UID in sync telemetry ping. r=bsmedberg,markh
MozReview-Commit-ID: DhlIEvyrtlL

--HG--
extra : rebase_source : 8fffdf42ba56242144e4450a783c4d23cc4f2aeb
2016-08-09 12:28:35 -04:00
Kit Cambridge 4d9b52b41c Bug 1274108 - Migrate the bookmarks engine to `PlacesSyncUtils`. r=markh
MozReview-Commit-ID: Gs35dVNVhPx

--HG--
extra : rebase_source : 5f9cdef7c48dc0b79506f74257dbfc5d4484d1ff
2016-08-10 12:55:02 -07:00
Kit Cambridge 5ea0848791 Bug 1274108 - Add a `PlacesSyncUtils` module. r=markh
MozReview-Commit-ID: LTVr3si0zrB

--HG--
extra : rebase_source : cabb31bd5a3d3438c1d7e357568733a55843757f
2016-08-10 12:54:45 -07:00
Sumit Tiwari ec358ae079 Bug 1292995 - Replace Iterator() with Object.{values,entries} in services/; r=gps
MozReview-Commit-ID: 3VEOjAJROld

--HG--
extra : rebase_source : 09102ed0ea8831adc1e6fd5973a290d16afcba03
2016-08-08 22:40:23 -04:00
Edouard Oger 1593bd1fc0 Bug 1249619 - Handle FxA password reset/changed push notifications. r=markh
MozReview-Commit-ID: 4ZtUs80iPXp

--HG--
extra : transplant_source : %13%D0%08%D3%84%FC%2B%A1u%95%1C%90%80%21%F7%05_V%01%87
2016-07-29 20:51:16 -07:00
Thom Chiovoloni dcec98563c Bug 1241699 - Add a telemetry probe measuring sync storage server wipe succeess rate. r=markh r=bsmedberg
MozReview-Commit-ID: 4BvRep96T3g

--HG--
extra : amend_source : dcd5d8e87b83832e838f8f12d67577935a02c175
2016-07-13 12:18:34 -04:00
ffxbld 3df383b855 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-08-01 07:09:05 -07:00
Mark Hammond 27fa2ce0b7 Bug 1275139 (part 3) - don't Sync system addons, nor apply them when incoming. r=rhelmer
MozReview-Commit-ID: Jn0TNLy4cDJ
2016-07-29 10:44:20 +10:00
Mark Hammond d2219304ce Bug 1275139 (part 2) - change tests to demonstrate the problems with system addons. r=rhelmer
MozReview-Commit-ID: Jhi4WyBYX8t
2016-07-29 10:44:12 +10:00
Mark Hammond 31b43265c9 Bug 1275139 (part 1) - kill ignoreRepositoryChecking pref, replacing it with AddonRepository.cache. r=rhelmer
MozReview-Commit-ID: 4tbctcuoFeB
2016-07-29 10:44:05 +10:00
Mark Hammond ce81545035 Bug 1288584 - don't allow prefs to specify a sync interval that's less than 60 seconds. r=rnewman
MozReview-Commit-ID: CHdBsC6cdOE
2016-07-28 11:46:45 +10:00
Thom Chiovoloni 348a37a7ec Bug 1268912 - Use unicode apostrophe for client.name2 in sync properties, working around issues with sync tests. r=markh
MozReview-Commit-ID: 5XArwMUQwQF

--HG--
extra : rebase_source : 99a8b6e1f7806bb6a37a613cbdd93626c6593378
2016-07-13 11:55:19 -04:00
Mark Hammond 1c158e3d9c Bug 1288877 - prevent bookmarks batch operations from triggering a continious sync.r=tcsc
MozReview-Commit-ID: L2zh6owKH4S

--HG--
extra : rebase_source : c8842b163fe7c5a3df0bd8dcbed3cb30fcaf3131
2016-07-23 10:43:04 +10:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Mark Hammond 5d3c3e5175 Bug 1287687 - prevent the clients engine from scheduling syncs every 90 seconds. r=tcsc,eoger
MozReview-Commit-ID: 2CpUVqwMEbB
2016-07-20 09:28:38 +10:00
Edouard Oger b2ac11da02 Bug 1244597 - Show notification on incoming tab. r=markh
MozReview-Commit-ID: BW7irvjVGiv

--HG--
extra : transplant_source : %90%C3R%D2%D1a%18%EA%DFyq%5E%BDY%E4%C8%9B%0El%9A
2016-07-07 13:33:29 -07:00
Ryan VanderMeulen 48149b87d1 Backed out changesets 48d6706662c0, 53236b4393f2, and 9125083b8dfe (bug 1268912, bug 1244597) for test_clients_engine.js perma-timeouts.
CLOSED TREE

--HG--
extra : amend_source : bfa17aa47bbb5d5e7f51f467fcae24d082b2989f
extra : histedit_source : 4db9a64c9d9704f9aecb65e213e05566d91a5847%2C5b92529a8a7fdff1f8d319c8208f0cb525a716eb
2016-07-15 19:48:14 -04:00
Edouard Oger 9869283a90 Bug 677372 - Send Tab/Page/Link to device. r=markh, a=KWierso
MozReview-Commit-ID: 6xnBjTPkiUQ
MozReview-Commit-ID: D7sdRrsWRCF

--HG--
extra : amend_source : fc1ff45a8b912acd673ee536b00bb3f914a301fb
extra : transplant_source : %27y%AD%91%11u%E27%FA%E5%85%F0Fh%07%F1s%CD%08%BB
extra : histedit_source : cef1a0dca88c5a103fb995246c6e9be568bbf83b%2C8082d5b8b03136b895f50458b119e3d09ab0f974
2016-06-27 16:46:43 -07:00
Edouard Oger 756f163b67 Bug 1244597 - Show notification on incoming tab. r=markh
MozReview-Commit-ID: BW7irvjVGiv

--HG--
extra : transplant_source : %E8%5B%A6%89%EA%E6%01%87%D1%AE%3D%28%7E%0C%1A%14%C4%D8V%FE
2016-07-07 13:33:29 -07:00
Thom Chiovoloni 8e8bdc52cc Bug 1268912 - Use unicode apostrophe for client.name2 in sync properties, working around issues with sync tests. r=markh
MozReview-Commit-ID: 5XArwMUQwQF

--HG--
extra : transplant_source : %AA0%A4%EF%FF%A6%3Fu%08l%C4%2A%E2I%7Ef-%5D%A9H
2016-07-13 11:55:19 -04:00
Wes Kocher bacab7c0f8 Merge m-c to autoland, a=merge 2016-07-12 16:54:34 -07:00
Mark Hammond 82d378057c Bug 1286169 - include addon names and versions in some Sync logs. r=tcsc
MozReview-Commit-ID: Dpb4qSQVPqN

--HG--
extra : rebase_source : b15da92ba6d4083eefe86e2cabaeb033ba9c1adb
2016-07-12 17:43:54 +10:00
Thom Chiovoloni 2050d02abe Bug 1267919 - Part 3. Implement initial sync telemetry recording code. r=Dexter,markh
MozReview-Commit-ID: 3hATEQVQjao

--HG--
extra : transplant_source : %08%CFv%89%19%299%9C%A4%F0%E6%9CY%E6c%B1O8%3A%17
2016-07-11 13:37:23 -04:00
Thom Chiovoloni 68ea0562f3 Bug 1267919 - Part 2. Add documentation and a schema for a new "sync" telemetry ping. r=bsmedberg,Dexter
MozReview-Commit-ID: IOsvmqfF3WN

--HG--
extra : transplant_source : g%B0Y%EDX%EAc%A1o%A8%E2O%2A%11%7C%A2%5E%B5%80%17
2016-06-30 10:28:18 -04:00
Thom Chiovoloni 63858427d6 Bug 1285021 - Exclude urls starting with blob: from tab syncing. r=markh
MozReview-Commit-ID: 9ye7sO0tB5W

--HG--
extra : transplant_source : %1Bq%DC%01%0B4gz%F2%7Fn%82%EF%E4%29%83%BD%B2%91D
2016-07-07 13:58:34 -04:00
Mark Hammond 1bdec40af4 Bug 1273889 - fix the Sync clients engine so it stops listening to the correct pref name, and have Preferences.jsm warn in that case. r=kitcambridge
MozReview-Commit-ID: BP86mtmz3aj

--HG--
extra : rebase_source : f2af530f72092954c73eee3bae921c5369b3f42d
2016-07-04 16:26:49 +10:00
Edouard Oger a662aebd5d Bug 1087636 - Better handling of server errors in GET /meta/global in Sync. r=markh
MozReview-Commit-ID: 7VNiSBpuwhP

--HG--
extra : transplant_source : L%C0%DB%0A%7E%D7r%5B%F8%CC%40d%AE%CF%E6%5D%B8%7B%1E%8A
2016-05-13 23:34:34 -07:00
Gregory Szorc a7c8e9f3cc Merge autoland into mozilla-central; a=merge
--HG--
extra : amend_source : 8ffaee5cda76b1923f7ef1f5724473c8ed94fda3
2016-07-04 09:01:56 -07:00
Thom Chiovoloni f50985e2bc Bug 1275125 - Replace 'security.OCSP.require' with a less problematic synced preference in TPS tests. r=markh
MozReview-Commit-ID: FGH6yo0KyxW

--HG--
extra : transplant_source : vu%C8%3CO%11%D4%DF%D6E%A5%7D9L%CB%A9%25%A0%EA%EB
2016-06-30 08:43:36 -04:00
Mark Hammond 413aa683aa Bug 1276090 - increment the sync score after a batch bookmark operation. r=rnewman
MozReview-Commit-ID: Dzw25Eo0AF5

--HG--
extra : rebase_source : e126e347bd8aba8e22f77a2d5875cbb0243eda81
2016-05-27 09:46:54 +10:00
Marco Bonardo 3837320431 Bug 889561 - Reduce the size of places.sqlite by removing the url unique index from moz_places. r=adw
MozReview-Commit-ID: 2kxaXnUYIwT

--HG--
extra : rebase_source : bbcaf85a0346b5347fc94053b4f193e4b89f2995
2016-06-29 14:47:36 +02:00
Thom Chiovoloni 5a2eece65d Bug 1281095 - Clean up FxA server sessions and devices after each run of TPS. r=markh
MozReview-Commit-ID: CBLrIBWgrFi

--HG--
extra : transplant_source : R%0A%12%27W%0CB%D6%B3f%A8G%2C5e%40%97%3C%82%D6
2016-06-29 19:50:13 -04:00
Carsten "Tomcat" Book a982df321d Backed out changeset ceff61c9fc5a (bug 889561) for frequent testfailures on pgo in /bookmarks/test_
--HG--
extra : rebase_source : 84d364e67739738da807b9d83c3338ebd8a086a6
2016-06-29 13:54:51 +02:00
Marco Bonardo 67c3ad7930 Bug 889561 - Reduce the size of places.sqlite by removing the url unique index from moz_places. r=adw
MozReview-Commit-ID: 2kxaXnUYIwT

--HG--
extra : rebase_source : e03928033aa795c9a1cdb34d4f4618b0eb1d6890
2016-06-20 13:22:10 +02:00
Marco Bonardo 392c65b534 Bug 1261386 - Avoid history flooding from repeated reloads. r=adw
MozReview-Commit-ID: FhU8nOoNUHb

--HG--
extra : rebase_source : ff75adb252b13f4042da49d4572fb807c3d0d823
2016-05-26 17:49:40 +02:00
ffxbld 219956a13e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-06-06 15:18:13 -04:00
Carsten "Tomcat" Book 4aea0165dc merge mozilla-inbound to mozilla-central a=merge 2016-06-06 11:55:56 +02:00
Mark Hammond 820da7b465 Bug 1273587 - Change the User-Agent header sent to Sync to include OS information. r=kitcambridge
The custom UA string sent by Sync now includes the "oscpu" portion of the
default UA string. Eg, with this patch my UA string looks like
"Firefox/49.0a1 (Windows NT 6.1; WOW64) FxSync/1.51.0.20160524173017.desktop"
where the value in parenthesis is added by this patch.

MozReview-Commit-ID: 1gfqQoVbO6V

--HG--
extra : rebase_source : 1098134f99bc7ac529c9124c8a565e5cdb24e7da
2016-05-31 09:25:10 +10:00
Thom Chiovoloni 220f25386e Bug 1274394 - Run the bookmark validator after each phase of TPS tests that touched bookmarks. r=markh
MozReview-Commit-ID: 9WH965qdhAE

--HG--
extra : transplant_source : %B3%9CP%A1%07%C8%BC5%DD%1F%BF%BA%FD%24%85%91%EB%0D%DB%8D
2016-05-27 13:31:14 -04:00
Kit Cambridge bd19524a92 Bug 1277983 - Improve existing bookmarks tracker tests. r=markh
The intention of this patch is 2-fold:

* Capture more existing semantics of the tracker that aren't currently tested.
  The intention is that this patch doesn't touch the existing tracker or
  bookmarks engine implementation at all.

* Make structural changes such that later patches that want to ensure the
  same semantics exist using SQL queries are more obvious and limited
  only to things directly related to the new tracker - for example, this patch
  uses tasks/promises even though they aren't necessary here, but will become
  necessary in later patches.

MozReview-Commit-ID: 4ks1YBJZw9Y

--HG--
extra : rebase_source : 94e14f8a9eb8321e6db591f1d8ba52269ddea9bb
2016-05-10 22:47:51 -07:00
Mark Hammond 32db9d2d5c Bug 1277983 - Improve bookmarks engine test logging and remove a deprecated call. r=kitcambridge
MozReview-Commit-ID: GEs6pYYnt7x

--HG--
extra : rebase_source : ec911c1437dc70b8807b44d6be403ca9c035c599
2016-04-27 15:17:05 -07:00
Thom Chiovoloni 56b8130f97 Bug 1276152 - Ignore differences in the pos property when validating bookmark separators. r=markh
MozReview-Commit-ID: KJLAI3FAh9j

--HG--
extra : transplant_source : %2B%D9X%D8%D1%A8%EA%C6%EB%AA%0Bc%E3%1Et%2BN%C2%E3%2A
2016-05-27 11:48:23 -04:00
Sagar Manchanda 781b52b853 Bug 1272806 - Remove notifyTabState pref in the tabs engine. r=eoger
MozReview-Commit-ID: 1OKZPpB6mSB
2016-05-29 17:23:10 -07:00
Thom Chiovoloni d51939c98d Bug 1273234 - Add method for summarizing sync bookmark problems generically. r=markh
MozReview-Commit-ID: 9u8J3zh4J10

--HG--
extra : transplant_source : %9F%F2%06%2C%97%00%3Br%9A%5B%B1%D7%A4%3C%3F%11%D42%F7%09
2016-05-20 13:19:54 -04:00
Thom Chiovoloni 6ed76eba46 Bug 1273234 - Reduce the number of false positives reported by sync's bookmark_validator. r=markh
MozReview-Commit-ID: 6VulTTDcfs3

--HG--
extra : transplant_source : %B0v%5DV%3Ex_%FC%85%C2%D3%ED%84%F8d.%E2%BE%7CV
2016-05-19 16:14:24 -04:00
Thom Chiovoloni 190873347a Bug 1189148 - Attempt to refresh the FXA certificate when a 401 is received from the token server. r=markh
MozReview-Commit-ID: B7p6gJ8EJCQ

--HG--
extra : transplant_source : %00%5C%9C%E9%93%CE%95%E3%94%09ba%25g%28%E4%E9%B4r%8C
2016-05-06 12:58:46 -04:00
Edouard Oger 78c5f8dca1 Bug 1269348 - Show last sync date tooltip on Synced Tabs sidebar device names. r=markh
MozReview-Commit-ID: LkGNdSF8Znm

--HG--
extra : transplant_source : qn%AA%7Ec%3AS%A7%A8%F4%E3%DE%00p%F7%00%3B%EC%1C%0C
2016-05-18 15:45:29 -07:00
Ryan VanderMeulen 54c922ca84 Merge inbound to m-c. a=merge
CLOSED TREE
2016-05-18 12:02:42 -04:00
Phil Ringnalda 74f134854f Back out e7c3a1d7ce27 (bug 1269348) on suspicion of causing failures in test_tab_store.js
CLOSED TREE
2016-05-17 23:20:47 -04:00
Mark Hammond 6b215d4b0f Bug 1241571 - Collect synced tabs and sidebar ui telemetry. r=Gijs
Adds UI telemetry for sidebar opening and closing and actions taken in the
SyncedTabs menu and side. Also adds a "sync-state" object so that analysis
of the Synced Tabs data can determine if the user has Sync configured at the
time.

MozReview-Commit-ID: JDxFmlNMi7n
2016-05-18 10:39:14 +10:00
Edouard Oger 60cb7c8705 Bug 1269348 - Show last sync date tooltip on Synced Tabs sidebar device names. r=markh
MozReview-Commit-ID: GG34hPxDKcy
2016-05-17 14:15:32 -07:00