Commit Graph

1580 Commits

Author SHA1 Message Date
Mark Hammond
c8597f4ec4 Bug 1488899 - Get TPS working. r=tcsc
This patch disables a couple of tests, removes old async support from TPS,
and puts more effort into preventing Syncs while TPS is running, and
removed an unused import.

Differential Revision: https://phabricator.services.mozilla.com/D8692

--HG--
extra : moz-landing-system : lando
2018-10-15 22:42:22 +00:00
Lina Cambridge
0e827e6c4f Bug 1477671 - Replace synced livemarks with tombstones, r=mak,markh
This commit replaces incoming synced livemarks with tombstones, and
reuploads the tombstone and updated parent to the server. Existing
livemarks are left untouched to minimize data loss; we'll either
delete them during migration, or when another client runs a full sync.

Differential Revision: https://phabricator.services.mozilla.com/D7084

--HG--
extra : rebase_source : db78efc696cce13cf596d2ab0906f049a2cbe12f
2018-10-06 10:36:15 +01:00
Doug Thayer
0fd7f560d6 Bug 1426245 - Test changes r=mak
MozReview-Commit-ID: 4fhhzspxLJZ

Depends on D4606

Differential Revision: https://phabricator.services.mozilla.com/D5162

--HG--
extra : moz-landing-system : lando
2018-10-09 14:47:31 +00:00
Luca Greco
e368443b29 Bug 1486763 - Add installTelemetryInfo to addon installed from Firefox Sync. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D5552

--HG--
extra : moz-landing-system : lando
2018-10-03 06:58:23 +00:00
Lina Cambridge
0f9afb27a5 Bug 1492010 - Ensure Sync engines with overridden telemetry names correctly report their validation results. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D6097

--HG--
extra : moz-landing-system : lando
2018-09-18 08:04:57 +00:00
Coroiu Cristina
83cdfe7284 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-08-31 19:35:06 +03:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Dave Townsend
e1f6637191 Bug 1487246: Remove uses of comma sequences in linted code. r=Standard8
Two cases were hiding permanently failing tests. I've commented those out and
filed bug 1487431.

Differential Revision: https://phabricator.services.mozilla.com/D4680

--HG--
extra : rebase_source : 232fa6173de8844a9c47d59926ec8e39d0640ecd
2018-08-29 16:12:55 -07:00
Kris Maglione
3a5c05e76f Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3733

--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Edouard Oger
56fcd689fc Bug 1483020 - Re-upload our own client record if our FxA device ID changed r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3265

--HG--
extra : moz-landing-system : lando
2018-08-14 00:57:27 +00:00
irrationalagent
c9df37f8cd Bug 1476393 - Allow sync ping to contain histograms r=markh,tcsc
MozReview-Commit-ID: KztXiSPUCE5

--HG--
extra : rebase_source : 0bd0236f907721fdc847e56950b84cb0c3407624
2018-08-03 09:16:08 -06:00
Mark Hammond
e1ec4db2c6 Bug 1467904 - allow addons to be installed if the addon manager's addon cache is outdated. r=lina
MozReview-Commit-ID: Gp1bnQSLaLA

Differential Revision: https://phabricator.services.mozilla.com/D2910

--HG--
extra : moz-landing-system : lando
2018-08-13 18:05:53 +00:00
Tiberius Oros
aff5d4ad5d Merge inbound to mozilla-central. a=merge 2018-08-09 13:02:05 +03:00
Mark Hammond
4c3177f5b4 Bug 1478558 - Remove usage of http://mozqa.com/ in services/sync/tests/tps/test_tabs.js r=whimboo,tcsc
MozReview-Commit-ID: Gd8qmfBWf8u

Differential Revision: https://phabricator.services.mozilla.com/D2547

--HG--
extra : moz-landing-system : lando
2018-08-08 20:59:24 +00:00
Devika Sugathan
295453950a Bug 1375220 Ensure all if-else statements have curly braces r=eoger
--HG--
extra : rebase_source : f653aeffad899f3ea920f29ff9f37e82bf1de85d
2018-08-06 19:12:31 +05:30
Mark Hammond
91d6bbfba6 Bug 1479998 - use PlacesUtils to get a tab's favicon rather than SessionStore. r=tcsc
MozReview-Commit-ID: DdYbW5r9JfF

Differential Revision: https://phabricator.services.mozilla.com/D2592

--HG--
extra : moz-landing-system : lando
2018-08-01 16:41:26 +00:00
Mark Banner
e72c3371d9 Bug 1479722 - Remove nsIAnnotationService::setPageAnnotation and removePageAnnotation. r=mak
Depends on D2582

Differential Revision: https://phabricator.services.mozilla.com/D2583

--HG--
extra : moz-landing-system : lando
2018-08-01 09:47:24 +00:00
Marco Bonardo
23cf556fe1 Bug 1477996 - Move getURIsForTag to the bookmarking API. r=Standard8,lina
The tagging API is being merged into the bookmarking API. This is part of it.

Differential Revision: https://phabricator.services.mozilla.com/D2450

--HG--
extra : moz-landing-system : lando
2018-07-27 15:16:57 +00:00
Bogdan Tara
8cd47f8f14 Backed out 2 changesets (bug 1476393) for toolkit/components/passwordmgr/ failures CLOSED TREE
Backed out changeset b22dd03454ff (bug 1476393)
Backed out changeset cb876d3e8a69 (bug 1476393)
2018-07-25 06:39:58 +03:00
irrationalagent
838fba45cb Bug 1476393 - Document histograms in sync ping and add pwmgr prompt histograms r=tcsc
MozReview-Commit-ID: 3Xqnp9g4pT9

--HG--
extra : rebase_source : bcc4a68a84460745c147cb00a75ab00c699cd7f9
2018-06-26 18:39:15 +01:00
Lina Cambridge
699fdba348 Bug 1472963 - Add a totalSyncChanges counter and use it in the bookmarks mirror. r=mak
This patch:

* Exposes a global Sync change counter on `nsINavBookmarksService`.
  This is similar to SQLite's `total_changes()`, but just for changes
  to bookmarks that affect Sync, and accounts for changes from multiple
  threads and connections.
* Adds a SQL function to bump the counter, and extends the
  `moz_bookmarks` triggers to call it.
* Moves merging outside the transaction in the bookmarks mirror, and
  checks that the counters match before applying.

Differential Revision: https://phabricator.services.mozilla.com/D2004

--HG--
extra : moz-landing-system : lando
2018-07-13 15:03:40 +00:00
Marco Bonardo
d932936d53 Bug 1475276 - Remove some no more necessary usage of promiseItemGuid. r=lina
Some code is unnecessarily using promiseItemGuid

Differential Revision: https://phabricator.services.mozilla.com/D2100

--HG--
extra : moz-landing-system : lando
2018-07-12 21:38:21 +00:00
Lina Cambridge
48335a1fdc Bug 1474033 - Ensure PlacesUtils.bookmarks.moveToFolder bumps the Sync change counter for items moved between different parents. r=Standard8
This patch unifies `updateBookmark` and `moveBookmark`.
`update` already handles the Sync change counter, and `move` specially
optimizes for moves. We can consolidate the two by reusing the queries
from `move` in `update`, moving its extra `setAncestorsLastModified`
call to `PlacesUtils.bookmarks.update`, and removing its transaction
and wrapper.

Differential Revision: https://phabricator.services.mozilla.com/D2016

--HG--
extra : moz-landing-system : lando
2018-07-09 14:12:41 +00:00
Mark Banner
acb2be40d6 Bug 1446325 - Stop inserting the default smart bookmarks into new profiles. r=mak,lina
MozReview-Commit-ID: AGQaw1rgukO

Differential Revision: https://phabricator.services.mozilla.com/D1831

--HG--
extra : moz-landing-system : lando
2018-07-02 16:25:09 +00:00
Edouard Oger
a7ac6fe27f Bug 1471757 - Use 'valid' credit card numbers in tps tests. r=tcsc
MozReview-Commit-ID: 668ycAESHtE

--HG--
extra : rebase_source : a592499dcb0fbca7b28ba1f899171d6c2ee13a98
2018-06-27 19:14:43 -04:00
Doug Thayer
c4f5b4ecdb Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 126587e26e6625dee53a7e40d8a9d5bdf426978a
2018-02-14 09:17:41 -08:00
Dorel Luca
d296624690 Backed out 5 changesets (bug 1340498) for build bustage due to conflicts with bug 1470325. a=backout
Backed out changeset 28bedb658af4 (bug 1340498)
Backed out changeset f950a2310e26 (bug 1340498)
Backed out changeset 5fcd31c65fe0 (bug 1340498)
Backed out changeset 515bb5e24dd7 (bug 1340498)
Backed out changeset 79a8619bd3e2 (bug 1340498)
2018-06-27 14:05:20 +03:00
Doug Thayer
f111638b21 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 98df93506a64113d09cfd0926257dbf5f84720b5
2018-02-14 09:17:41 -08:00
Bogdan Tara
d2fb3a8812 Backed out 5 changesets (bug 1340498) for build bustages on nsDOMCSSAttrDeclaration.h CLOSED TREE
Backed out changeset 9ebcdb66ceff (bug 1340498)
Backed out changeset 63321093bb70 (bug 1340498)
Backed out changeset f8c799971f81 (bug 1340498)
Backed out changeset 21d8c1fbbbd1 (bug 1340498)
Backed out changeset fa40c179eb0d (bug 1340498)
2018-06-26 21:31:09 +03:00
Doug Thayer
421ce10d38 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : eeb3a99e07e3e5a39d716760cd26795f28f9a74b
2018-02-14 09:17:41 -08:00
Mark Banner
1808cc5dec Bug 1467996 - Remove all the code adding a description annotation. r=mak,lina
MozReview-Commit-ID: CRBSxJtJELp

Differential Revision: https://phabricator.services.mozilla.com/D1748
2018-06-26 12:33:45 +00:00
arthur.iakab
fc7e217166 Backed out 5 changesets (bug 1340498) for build bustages on SelectionChangeListener.h on a CLOSED TREE
Backed out changeset c89b86622d38 (bug 1340498)
Backed out changeset b270d4a01986 (bug 1340498)
Backed out changeset 8ed32495b46f (bug 1340498)
Backed out changeset df9a67c58183 (bug 1340498)
Backed out changeset a5977e0708ea (bug 1340498)
2018-06-26 07:59:01 +03:00
Doug Thayer
763d6c428f Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : eeb3a99e07e3e5a39d716760cd26795f28f9a74b
2018-02-14 09:17:41 -08:00
arthur.iakab
8b1be0e972 Backed out 5 changesets (bug 1340498) for build bustages on SelectionChangeListener.h on a CLOSED TREE
Backed out changeset fae677707059 (bug 1340498)
Backed out changeset 2adde1d1742a (bug 1340498)
Backed out changeset a444ab9cefde (bug 1340498)
Backed out changeset e2ac49ef2034 (bug 1340498)
Backed out changeset 6465310b3de9 (bug 1340498)
2018-06-26 03:53:21 +03:00
Doug Thayer
4ef92a21b2 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 8815ce1e4eef3bfaf25acf36faeeadacbe4a3b0c
2018-02-14 09:17:41 -08:00
Mark Banner
5b8ba7f27e Bug 1452645 - Remove load in sidebar functionality. r=lina,mak
Based on patch by mixedpuppy.

MozReview-Commit-ID: BZwOtr4VbCH

--HG--
extra : rebase_source : 2e3ad3fedaf82d0e5d3db9bcebf1c2faa46447e7
2018-06-06 21:00:45 +01:00
Kris Maglione
1e03e83e35 Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq

--HG--
extra : rebase_source : 7766537d472ae8d6a25c4c824a50c0bb6bc49865
2018-05-12 16:49:35 -07:00
Carol Ng
ac0db61cc2 Bug 694735 - Change default Accept header to json in Sync API requests r=eoger
--HG--
extra : rebase_source : 5ac59d2cfcae572a1c971bd2164f03f567c5f39a
2018-05-24 15:04:11 -04:00
Mark Hammond
b30577d5b8 Bug 1409208 (part 2) - implement disconnect and sanitize functionality. r=eoger,kitcambridge
MozReview-Commit-ID: 3Fqc6MiaQ4O

--HG--
extra : rebase_source : b0397a66bdac2ab81b50a2ef47252af6307a8ccc
2018-04-27 09:18:47 +10:00
Mark Hammond
9fadc5a5e8 Bug 1463624 - ensure sync knows there is a valid user on signin. r=eoger
MozReview-Commit-ID: 8hGU8eLYZKx

--HG--
extra : rebase_source : 2374fa5dabed4bda0b581a485293abecd5982915
2018-05-23 17:46:38 +10:00
Andreea Pavel
e186d16906 Backed out changeset 240237473d9e (bug 1463624) for failing eslint at builds/worker/checkouts/gecko/services/sync/tests/unit/test_browserid_identity.js:279:9 on a CLOSED TREE 2018-05-24 03:04:36 +03:00
Mark Hammond
5f934337c0 Bug 1463624 - ensure sync knows there is a valid user on signin. r=eoger
MozReview-Commit-ID: 8hGU8eLYZKx

--HG--
extra : rebase_source : 227aa891910a0a3d30c910cafc9a0ce7db1368d7
2018-05-23 17:46:38 +10:00
Mark Banner
127c1ce9e9 Bug 1463499 - Enable ESLint rule require-expected-throws-or-rejects for services/. r=markh
MozReview-Commit-ID: LBGpRrw3zTx

--HG--
extra : rebase_source : 28353d39dd495114d987df36fd0ea1bd10ede1a3
2018-05-16 19:06:24 +01:00
Drew Willcoxon
01726bea17 Bug 1239708: Improve awesomebar autofill. Part 5: xpcshell tests. r=mak
MozReview-Commit-ID: 4mMyFeay69T

--HG--
extra : rebase_source : 1f67f48425afa4ecc404f513ecdae7f05f917339
2018-05-14 11:27:19 -07:00
Mark Banner
2ff4ec85fb Bug 1458235 - Drop cases of Components.stack.caller passed as the msg to Assert.* as it isn't necessary as we already work out the stack correctly for these cases. r=Gijs
MozReview-Commit-ID: BfFIzLr1sXv

--HG--
extra : rebase_source : 7f966ea034f269454a5b6206974734fdce106138
2018-05-04 11:26:59 +01:00
Mark Banner
9c03ace970 Bug 1458235 - Fix various cases where Assert.ok or Assert.equal have been called wrongly. r=Gijs
MozReview-Commit-ID: Br3lKpKNVQJ

--HG--
extra : rebase_source : 972c69ecf63bb522b0f368e3c388f4eff558bbe3
2018-05-01 22:15:43 +01:00
Mark Hammond
18ca834662 Bug 1458363 - Remove WEAVE_ENGINE_SYNC_ERRORS histogram. r=chutten,kitcambridge
MozReview-Commit-ID: 6upLHPBWhzz

--HG--
extra : rebase_source : 67cce98f119ac1af19920e53beae8be871fde2e8
2018-05-02 12:42:07 +10:00
Marco Bonardo
c77ad1727f Bug 1354531 - Remove PlacesUtils.asyncHistory to make History internals access less convenient. r=standard8
MozReview-Commit-ID: K9oQTJbVAZF

--HG--
extra : rebase_source : 1f9c19911602a2620dace4d85c8174347c8eeb42
2018-05-03 15:08:06 +02:00
Mark Hammond
01bba2c16e Bug 1457815 - remove all sync log files when sync is disconnected. r=tcsc
MozReview-Commit-ID: 3YYn5311cCE

--HG--
extra : rebase_source : e9d51d5a7a21afc87442e6f354a313291c1bfdf4
2018-04-30 15:32:37 +10:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00