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

4248 Коммитов

Автор SHA1 Сообщение Дата
Margareta Eliza Balazs 2fe43133db Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Mark Hammond 804a02dafb Bug 1483017 - ensure Sync is initialized before disconnecting. r=tcsc
MozReview-Commit-ID: 8987f26wH16

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

--HG--
extra : moz-landing-system : lando
2018-08-29 01:29:19 +00:00
Kris Maglione 53f96aa226 Bug 1486182: Part 2a - Add Services.catMan getter for the category manager. r=mossop
This makes it much easier to update existing consumers of
XPCOMUtils.enumerateCategoryEntries to use the category manager directly.

It also, unfortunately, requires updating existing category manager consumers
to use the Services getter in order to avoid ESLint errors.

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

--HG--
extra : rebase_source : fb9fd9b21db80af472ff6250a2e9a35e8d538147
2018-08-24 22:13:57 -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
Mark Hammond dd210449cd Bug 1484085 - don't log failure to obtain clients engine. r=tcsc
MozReview-Commit-ID: Aj31c1OZnFf

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

--HG--
extra : moz-landing-system : lando
2018-08-23 02:00:27 +00:00
Kris Maglione f99ee35b82 Bug 1480244: Part 5 - Run most framescripts in shared scope. r=mconley
Creating non-shared scopes for frame scripts is fairly expensive. After these
changes it's even more expensive. However, many frame scripts have no use for
the shared scopes at all. Run-once scripts which execute in closures, for
instance, make no use of them. And after bug 1472491, neither do most of our
default frame scripts.

MozReview-Commit-ID: 9PK7bYdQ0yh

--HG--
extra : rebase_source : db2516d2f00a75e233e1957649f2b62a9299b7cd
2018-08-10 13:58:18 -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 7d1bdec522 Bug 1479511 - modernize how TPS shuts down Firefox. r=tcsc
MozReview-Commit-ID: EzhGbhPCiOV

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

--HG--
extra : moz-landing-system : lando
2018-08-08 20:59:30 +00: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 28a02d4cb1 Bug 1480002 - Ensure the UI immediately reacts to notifications of a password change. r=eoger
MozReview-Commit-ID: JI5bQ4UoWs3

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

--HG--
extra : moz-landing-system : lando
2018-08-02 15:37:56 +00:00
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
Mark Banner 96b3386f5b Bug 1478308 - Remove unnecessary ChromeUtils.imports in services/ r=lina
MozReview-Commit-ID: 1oprv2tG0HG

--HG--
extra : rebase_source : 85c9b07892778dfec5ab4ccc70cc4fb7119ee4f3
2018-07-25 09:13:11 +01:00
Narcis Beleuzu d47c829065 Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner fba7b63903 Bug 1478308 - Remove unnecessary ChromeUtils.imports in services/ r=lina
MozReview-Commit-ID: 1oprv2tG0HG

--HG--
extra : rebase_source : 89471677bab059efe9d9cb8a48b2cd557bd41e33
2018-07-25 09:13:11 +01:00
Mark Hammond 591860e3dd Bug 1478547 - exceptions processing sync logins now bubble up for better handling and recovery. r=tcsc
MozReview-Commit-ID: 3y8ryBxueFS

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

--HG--
extra : moz-landing-system : lando
2018-07-26 05:38:03 +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
irrationalagent ada2400811 Bug 1476393 - Allow Histograms to Be Sent In Sync Ping r=tcsc
MozReview-Commit-ID: HhtcE5PF2sC

--HG--
extra : rebase_source : f8e82290d4b8d37b8692452138fcb33380046d53
2018-06-19 13:48:47 +02:00
Mihir 6d945ada5b Bug 1474365 Prevent submitting sync telemetry for self hosting users. r=markh 2018-07-13 21:01:38 +05:30
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 2038dfcf2f Bug 1473533 - Change the nsINavHistoryObserver::OnDeleteVisits visit time parameter to be a boolean for partial removal. r=mak
MozReview-Commit-ID: YbkHjOv7FH

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

--HG--
extra : moz-landing-system : lando
2018-07-05 13:18:31 +00:00
Edouard Oger 6ebb7fced3 Bug 1466933 - Implement FxA commands. r=markh,rfkelly
MozReview-Commit-ID: EXLO3vnu9vB

--HG--
extra : rebase_source : 75660e909647ef0dd4f56326d38fbe4c1e5f7716
2018-05-30 17:23:56 -04: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
Pavan Veginati 36621c7632 Bug 1470034 - Remove x-client-state and hawk auth header trace logs. r=markh
MozReview-Commit-ID: GJeLlJ3HajP

--HG--
extra : rebase_source : 00ae3f991478408ca2904e56290350b77c4dce7c
2018-06-29 23:54:15 +05:30
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
Mark Hammond b0748629f7 Bug 1466899 - TPS now checks the name from the clients collection rather than the tabs collection. r=tcsc
MozReview-Commit-ID: K9Vep0k2nRF

Differential Revision: https://phabricator.services.mozilla.com/D1819
2018-06-26 00:34:59 +00: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
Doug Thayer abe46fa52a Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : ef8fa174f902e6abd397fb80294e83843120aa81
2018-02-14 09:11:49 -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
Doug Thayer 0a912f9667 Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : fd064e53e8645c3914188c05e71c8800d6f2174b
2018-02-14 09:11:49 -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
Doug Thayer 4dd5940382 Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : 1190d4f127453cdcb692deb5982e92a93e236b9e
2018-02-14 09:11:49 -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
Doug Thayer 22f93b18ef Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : 1190d4f127453cdcb692deb5982e92a93e236b9e
2018-02-14 09:11:49 -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
Doug Thayer 41d49cecec Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : 148555189f73fb29a48296215e367c406f3f0286
2018-02-14 09:11:49 -08:00
Noemi Erli b7560a0ac0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-25 22:14:26 +03:00
ffxbld 499488f95b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-06-25 09:34:19 -07: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
Dave Hunt e5ebd847ca Bug 1466873 - [tps] Allow date property be optional when matching history entries; r=markh
MozReview-Commit-ID: 98eR1XFYpwE

--HG--
extra : rebase_source : 21939f3abd0874bbcb4da0b5bb5b3d17fdee06a4
2018-06-07 16:53:39 +01:00
Kris Maglione 7b7264f453 Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB

--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Dave Hunt 16d53b6538 Bug 1466940 - Add logging of tabs in TPS to assist with investigating test failures; r=tcsc
MozReview-Commit-ID: AW7RrtglYEN

--HG--
extra : rebase_source : e94d17d05943613ac08d684ad5ea2e5afeef054c
2018-06-05 21:49:59 +01:00
Thom Chiovoloni 349f8f4348 Bug 1466814 - Remove the manual login call from TPS, since we'll log in anyway, and shouldn't be holding the sync lock r=markh
MozReview-Commit-ID: 3NmFXMplZyV

--HG--
extra : rebase_source : 9c64d88e0e4de8fb657828db1be78239fb750db4
2018-06-05 16:19:07 -07:00
Carol Ng eaa5aa23b5 Bug 1435000 - Refactor client engine queue to use AsyncQueueCaller r=eoger
MozReview-Commit-ID: JRWHktfqGMQ

--HG--
extra : rebase_source : ac39e2ff9fb1aa2bc10504aad5f018114902145e
2018-05-29 14:30:22 -04:00
Kris Maglione 10b1f3e064 Bug 1462516: Move more XPI database code out of XPIProvider.jsm. r=aswan
MozReview-Commit-ID: IIoP5GPa4Cu

--HG--
extra : rebase_source : 4993834aa10f1a763ce12c72db44aa0af0f1395e
2018-05-17 18:44:01 -07: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
Kit Cambridge 64d055dbea Bug 1461009 - Move extra event telemetry field normalization into Sync. r=tcsc
MozReview-Commit-ID: 8Par4kHJ958

--HG--
extra : rebase_source : c990d44e65110bbce46f32c89fcdf774a1ff20ec
2018-05-10 18:23:51 -07: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
Edouard Oger 5bf0e60e17 Bug 1460396 - Make notifyHistoryObservers an arrow function. r=tcsc
MozReview-Commit-ID: B4BPE98YxEi

--HG--
extra : rebase_source : ace8cdb66f41af25f1ed8124bb9d77a567810db9
2018-05-09 15:26:04 -04:00
jakehm 7a8a48c884 Bug 1089691 - Convert consumers of removePagesByTimeframe and removePagesFromHost to PlacesUtils.history.removeByFilter. r=mak
MozReview-Commit-ID: HevUcwPhYhd

--HG--
extra : rebase_source : da8c9df153a2358a339ada1b82850fba55c42913
2018-02-25 14:27:03 -05: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
ffxbld f30847c12e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-05-07 16:29:07 +00: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
Kit Cambridge 57c2fdd5f5 Bug 822018 - Remove unused mentions of private browsing from TPS. r=tcsc
MozReview-Commit-ID: 2QKfN062gRE

--HG--
extra : rebase_source : aa460d5fb0f41f5c9449ee4fb539abeb2cd6ed63
2018-05-01 13:34:17 -07: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
Mark Hammond cc7fecadc3 Bug 1457071 - allow all extension-storage data to be deleted from the profile. r=glasserc
MozReview-Commit-ID: Dnb2kdcz1CH

--HG--
extra : rebase_source : be65881f76e0fb004d718cbb6f841c44beeebe26
2018-04-26 17:53:56 +10:00
Thom Chiovoloni 69c68a2a49 Bug 1455322 - Allow TPS ping validation to be disabled by the `testing.tps.skipPingValidation` preference r=markh
MozReview-Commit-ID: 66KgorRWaC

--HG--
extra : rebase_source : ed18331c5323babf84c86a9934dbb6a395f0bf90
2018-04-24 11:16:27 -07:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Edouard Oger 783ac499bc Bug 1442133 - FxA messages client implementation. r=markh,tcsc
MozReview-Commit-ID: EWYlZLdyUA0

--HG--
extra : rebase_source : ac540a5d1c26067c95314d07a32db8994f3dcee6
2018-03-07 13:38:12 -05:00
Tim Nguyen 92c9a958e1 Bug 1372694 - Stop making the default theme a heavyweight theme. r=kmag,aswan
MozReview-Commit-ID: 30wMauuc9oo

--HG--
rename : browser/base/content/default-theme-icon.svg => toolkit/mozapps/extensions/content/default-theme-icon.svg
extra : rebase_source : 5e4cf784135f4a8e40a2ed8357ba651e7fce9728
2018-04-01 13:53:31 +02:00
Kris Maglione 882b43fb78 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs

--HG--
extra : rebase_source : f5460c6c7cb7dbd844c03edb6158cfdeb5e1dd9f
extra : absorb_source : d112aeea40576383a9acc7573cc4cde71b5150fb
extra : histedit_source : fb0ac000504068db820193823bcf1e6fac9fa3cf
2018-04-15 14:22:55 -07:00
Dave Hunt 57cf8146c3 Bug 1455292 - Avoid verification for verified Firefox Accounts in TPS; r=tcsc
MozReview-Commit-ID: 2OFN5wS1IL8

--HG--
extra : rebase_source : b4c0a999ed36a6152e1ccb3352f5a9686949ec0d
2018-04-19 14:25:28 +01:00
Dave Hunt ac65f64ed9 Bug 1455306 - Add "mobile" bookmark folder to TPS for testing device sync; r=tcsc
MozReview-Commit-ID: 9HxZL3uHsgD

--HG--
extra : rebase_source : a783111078a90a7f39ec17a9793c00f3a6b2e9fa
2018-04-19 14:33:38 +01:00
Kit Cambridge a3865ba9ec Bug 1410270 - Run Places maintenance for certain Sync bookmark errors. r=tcsc
MozReview-Commit-ID: 54lYPfPods2

--HG--
extra : rebase_source : afbe3a02d23c3f910110634e67281cddd00ac305
2018-04-11 18:25:33 -07:00
Thom Chiovoloni 94ffdc29c8 Bug 1455114 - Fix resource://tps/* failing to load when TPS is used as an XPI r=kitcambridge
MozReview-Commit-ID: B8ETNzGijWX

--HG--
extra : rebase_source : 3f8b551da934980b6db03e5c908f302cf7374dc2
2018-04-18 13:53:41 -07:00
Thom Chiovoloni c0a1471a31 Bug 1415952 - Remove nonrestartless addon tests from TPS, replace with webextension r=markh
MozReview-Commit-ID: EoCDxQqvLRR

--HG--
extra : rebase_source : 0f6fbf7cc55028d40550245676cbafa75eafe812
2018-04-17 11:37:37 -07:00
Marco Bonardo dbde0c7df9 Bug 1453580 - Remove promiseFaviconLinkUrl and fix its consumers. r=Gijs
MozReview-Commit-ID: GrY8s3l71Mp

--HG--
extra : rebase_source : 6f5ec9404f12eb988501df56c7ee264ade2b054c
2018-04-16 18:24:06 +02:00
Dorel Luca c4fec6222b Backed out changeset 897bbf35e781 (bug 1453580) for XPCShell failure on services/sync/tests/unit/test_syncedtabs.js. CLOSED TREE 2018-04-18 14:06:34 +03:00
Marco Bonardo b00d20562d Bug 1453580 - Remove promiseFaviconLinkUrl and fix its consumers. r=Gijs
MozReview-Commit-ID: GrY8s3l71Mp

--HG--
extra : rebase_source : e8a1adb7c1004eaefddc42d12048d445eecd6530
2018-04-16 18:24:06 +02:00
Thom Chiovoloni 821aa618ed Bug 1453887 - Avoid syncing as the network link changes to down r=eoger
MozReview-Commit-ID: 5C2qDX4iITU

--HG--
extra : rebase_source : 807cbdc8b9f66754dbe726ddb9ce81849210a585
2018-04-13 12:20:11 -07:00
Thom Chiovoloni 071a1347e8 Bug 1448064 - Use PlacesUtils.history.insert instead of updatePlaces in TPS r=kitcambridge
MozReview-Commit-ID: 1egxfjYE2yt

--HG--
extra : rebase_source : d755be530e92ae2dd7cdcbe5b5e508840390d145
2018-03-27 14:18:15 -07:00
arthur.iakab b9f0fcc3d6 Merge mozilla inbound to mozilla-central a=merge 2018-04-13 12:43:21 +03:00
Amy Chan d494f855f6 Bug 1446975 - Replace synced Tabs sidebar device icons. r=eoger
MozReview-Commit-ID: GnawrVrfpEz


--HG--
rename : browser/themes/shared/icons/device-mobile.svg => browser/themes/shared/icons/device-phone.svg
2018-04-12 19:22:38 -04:00
Amy Chan 5150d18a19 Bug 1446975 - Replace synced Tabs sidebar device icons. r=eoger
MozReview-Commit-ID: GnawrVrfpEz
2018-04-12 19:20:07 -04:00
Gurzau Raul 50d002961a Backed out 2 changesets (bug 1446975) for failing xpcshell on sync/tests/unit/test_syncedtabs.js and browser-chrome failures e.g. test/urlbar/browser_page_action_menu.js on a CLOSED TREE
Backed out changeset 69653800c483 (bug 1446975)
Backed out changeset 44e3e7446b02 (bug 1446975)

--HG--
rename : browser/themes/shared/icons/device-phone.svg => browser/themes/shared/icons/device-mobile.svg
2018-04-13 01:28:22 +03:00
Edouard Oger f8584a9107 Bug 1446975 fix eslint failure
MozReview-Commit-ID: D0DQxPo4Y4s
2018-04-12 16:51:26 -04:00
Amy Chan 711220e6e7 Bug 1446975 - Replace synced Tabs sidebar device icons. r=eoger
MozReview-Commit-ID: GnawrVrfpEz


--HG--
rename : browser/themes/shared/icons/device-mobile.svg => browser/themes/shared/icons/device-phone.svg
2018-04-12 16:18:22 -04:00
Thom Chiovoloni c67edfba07 Bug 1453804 - Ensure sync password validator will ever run r=markh
MozReview-Commit-ID: 8weadIdJHjl

--HG--
extra : rebase_source : c4248fc5408d6daada4681fd0d51937103df5f92
2018-04-12 14:40:00 -07:00
Thom Chiovoloni 7be53b64d3 Bug 1453507 - Fix and simplify TPS's logout procedure r=eoger
MozReview-Commit-ID: CvnXAT0nanB

--HG--
extra : rebase_source : 00736a60200a1a4c6895493836709a5cacb156c2
2018-04-11 15:40:17 -07:00
Kit Cambridge b291ceb1ab Bug 1452294 - Improve logging for records in bookmark mirror. r=markh
MozReview-Commit-ID: 69eJrbo89Sx

--HG--
extra : rebase_source : f6ef5d721ede920431540aaa5af1bc1a90f6111f
2018-04-06 17:15:28 -07:00
Thom Chiovoloni 779c8d62b8 Bug 1450152 - Handle changing services.sync.engine.bookmarks.buffer at runtime r=kitcambridge,markh
MozReview-Commit-ID: 2ImuLBcJVAl

--HG--
extra : rebase_source : 9a481ca3f748d865a49780045cd575995f6e4d2f
2018-04-03 13:55:27 -07:00
Mark Hammond e7aa38e0ae Bug 1448184 - only send notifications of history batch updates when we actually have updates. r=standard8,tcsc
MozReview-Commit-ID: CvXVSK9Dy8S

--HG--
extra : rebase_source : 6a013ec0dd496032fcf83508f55670179c9ca241
2018-03-23 10:35:00 +11:00
Cosmin Sabou 1c63708860 Backed out changeset 9bff182dc722 (bug 1448184) for ESlint failure on /builds/worker/checkouts/gecko/services/sync/modules/engines/history.js CLOSED TREE 2018-04-09 08:02:53 +03:00
Mark Hammond 04256a06f6 Bug 1448184 - only send notifications of history batch updates when we actually have updates. r=standard8,tcsc
MozReview-Commit-ID: CvXVSK9Dy8S

--HG--
extra : rebase_source : 9b2d59a2b8ee78700a6f89b1ab3f5789868f24ca
2018-03-23 10:35:00 +11:00
Marco Bonardo a221478852 Bug 1293445 - 3 - Handle Sync tag queries rewrite. r=kitcambridge
MozReview-Commit-ID: DUXHCbMo5fI

--HG--
extra : rebase_source : aaea5847519e11d632388e1af970637e3939fc36
2018-03-27 18:30:52 +02:00
Edouard Oger 32177401d2 Bug 1450516 - Do not show last sync date if is not present. r=markh
MozReview-Commit-ID: GiZYeFzXujB

--HG--
extra : rebase_source : 01b563546fc76890a100010871b2f7c7d0704e8e
2018-04-03 14:08:57 -04:00
ui.manish 91092f7582 Bug 1447173 - Sync should only log output installed addons in error logs at trace level r=tcsc 2018-04-02 19:41:32 +02:00
Thom Chiovoloni 1aca199f54 Bug 1450316 - Run sync's test_utils_makeGUID.js sequentially r=kitcambridge
MozReview-Commit-ID: 8TneGQLTaD4

--HG--
extra : rebase_source : 139358767d21271da7bef77931e49568c99d5b35
2018-03-30 11:13:54 -07:00
Edouard Oger d4d4e67f2f Bug 1448165 p1 - Simplify and factorize FxAccounts signout mechanism. r=markh
Since FxA's /session/destroy now also removes the current device registration,
there's no need to differenciate signouts w/ and w/o device registration.

MozReview-Commit-ID: 3lHV3JC1NU6

--HG--
extra : rebase_source : 3d5e7f456cfb3daf3c069b78a3c1c8182c6151ee
2018-03-22 11:54:38 -04:00
Thom Chiovoloni 9c92761c4d Bug 1449248 - Manually add handler for resource://tps uri in TPS r=kitcambridge
MozReview-Commit-ID: 97YR2gOlOKC

--HG--
extra : rebase_source : 1766078e99e8b8e08677c0339ce5e8e34be868c8
2018-03-27 10:12:44 -07:00
Kit Cambridge c692953fb7 Bug 1426556 - Store the bookmarks sync ID in the mirror. r=markh
MozReview-Commit-ID: iozvhyCfle

--HG--
extra : rebase_source : 556d5406ce449b45208e3370f05da915024ce0d1
2018-03-23 17:39:41 -07:00
Kit Cambridge 94aaf48948 Bug 1448929 - Fix first sync check in `gSync.syncConfiguredAndLoading`. r=eoger
MozReview-Commit-ID: 8Xk6DMHroTm

--HG--
extra : rebase_source : eba433ff16f9b3088958878cdc7223ec68f68e18
2018-03-26 09:35:29 -07:00
Kris Maglione b1eb2466a3 Bug 1446686: Follow-up: Fix sync tests that load head_addons.js and fixture add-ons from add-on manager tests. r=they're-lucky-i-don't-just-disable-the-tests,test-only
MozReview-Commit-ID: C9kNoWVsxYY

--HG--
extra : rebase_source : a28be4f9e395e853ea477ba0b59293f347eedf83
extra : amend_source : 81c141c49a328f85c1f99bbbd0416064f294abb9
2018-03-25 20:12:11 -07:00
Mark Hammond a4af7ce035 Bug 1448171 - remove old and unused database access references from sync history engine. r=tcsc
MozReview-Commit-ID: 4t8ugzHrxbh

--HG--
extra : rebase_source : ab6aa9feec14f958d263bae121f306b6db94a59c
2018-03-23 09:27:33 +11:00
Mark Banner 6a8780cc8d Bug 1444094 - Remove remaining support for the places/excludeFromBackup annotation. r=mak
MozReview-Commit-ID: 56dWvia8yIC

--HG--
extra : rebase_source : e2479799091a72ea6b8b86088e42d352f8065d5e
2018-03-21 10:06:10 +00:00
arthur.iakab 24af737f4c Merge inbound to mozilla-central. a=merge 2018-03-22 01:46:39 +02:00
arthur.iakab fda9fc4c79 Merge mozilla-central to autoland 2018-03-21 21:28:49 +02:00
arthur.iakab 6b204e5710 Merge autoland to mozilla-central. a=merge 2018-03-21 21:10:52 +02:00
Sebastian Hengst 65d6e8f735 Backed out 5 changesets (bug 1446676) for timeouts in talos-chrome-profiling on OS X. a=backout
Backed out changeset 5d3eb0526d8b (bug 1446676)
Backed out changeset d6bda91c66d6 (bug 1446676)
Backed out changeset 71d65d6b6499 (bug 1446676)
Backed out changeset aabfc0197692 (bug 1446676)
Backed out changeset ad8214a6cf04 (bug 1446676)

--HG--
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
2018-03-21 20:51:03 +02:00
Tiberius Oros 649398dfd9 Merge inbound to mozilla-central. a=merge 2018-03-21 12:03:08 +02:00
Kris Maglione 47469232dd Bug 1446571: Follow-up: Fix sync tests that misuse resources from add-on manager tests. r=bustage
MozReview-Commit-ID: 71lWts76HnJ
2018-03-20 20:26:46 -07:00
Kris Maglione 946e1ef0b5 Bug 1446676: Part 2 - Update non-overlay automation extensions to be bootstrapped. r=Mossop
In order to remove support for non-bootstrapped extensions, the remaining test
automation extensions need to be migrated to bootstrapped extensions. These
extensions all work by loading a single component, either with a
profile-after-change or command line handler. This is a straightforward
conversion of those components to bootstrap.js scripts.

MozReview-Commit-ID: 5uyNSqRPIVR

--HG--
rename : services/sync/tps/extensions/tps/components/tps-cmdline.js => services/sync/tps/extensions/tps/bootstrap.js
rename : testing/talos/talos/pageloader/components/tp-cmdline.js => testing/talos/talos/pageloader/bootstrap.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js => testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js
rename : testing/talos/talos/talos-powers/components/TalosPowersService.js => testing/talos/talos/talos-powers/bootstrap.js
rename : tools/quitter/QuitterObserver.js => tools/quitter/bootstrap.js
extra : rebase_source : 738264d0ec8701aa5cf93c6dac958d88756c1e55
extra : source : 71d65d6b64997bc608a1cb3c924be35bbd460b39
2018-03-16 22:06:22 -07:00
arthur.iakab 5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Thom Chiovoloni cb131c0c3a Bug 1363581 - (part 2) Make RESTRequest's public API use promises and not callbacks r=markh
This also took the opportunity to clean up and modernize code it touched (mostly tests,
which needed changes but not quite as many changes as I ended up making).

MozReview-Commit-ID: ApPUTHXFprM

--HG--
extra : rebase_source : b6f44e4cbd62e2e41fd12d70e12362a4afcb4cb2
2018-03-14 20:34:50 -07:00
Thom Chiovoloni 29b065e859 Bug 1447513 - Make sure we sync at the start of test_history_collision phase 2 r=markh
This patch also improves the DumpHistory logging to make it include GUIDs.

MozReview-Commit-ID: 9X3YLe8mnwW

--HG--
extra : rebase_source : fca04a1772e67e193b2f3dca73e2a9d82f894212
2018-03-20 17:17:12 -07:00
Thom Chiovoloni 670a898cc3 Bug 1447526 - Flush tab state in TPS after adding a tab. r=markh
MozReview-Commit-ID: 6LSi2ToGPUu

--HG--
extra : rebase_source : 2ff42c6e0a64bf55d9c571dc3a21a349dd3e3cff
2018-03-20 18:48:16 -07:00
Peter Van der Beken f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Kris Maglione c69ba360c1 Bug 1446676: Part 2 - Update non-overlay automation extensions to be bootstrapped. r=Mossop
In order to remove support for non-bootstrapped extensions, the remaining test
automation extensions need to be migrated to bootstrapped extensions. These
extensions all work by loading a single component, either with a
profile-after-change or command line handler. This is a straightforward
conversion of those components to bootstrap.js scripts.

MozReview-Commit-ID: 5uyNSqRPIVR

--HG--
rename : services/sync/tps/extensions/tps/components/tps-cmdline.js => services/sync/tps/extensions/tps/bootstrap.js
rename : testing/talos/talos/pageloader/components/tp-cmdline.js => testing/talos/talos/pageloader/bootstrap.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js => testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js
rename : testing/talos/talos/talos-powers/components/TalosPowersService.js => testing/talos/talos/talos-powers/bootstrap.js
rename : tools/quitter/QuitterObserver.js => tools/quitter/bootstrap.js
extra : rebase_source : 2df7dce1afe4e9e4054d12adfc1553e5f5d417e2
2018-03-16 22:06:22 -07:00
Edouard Oger 9b6026748b Bug 1184265 - Make last sync date be relative. r=markh
MozReview-Commit-ID: 2hB9F7Elynh

--HG--
extra : rebase_source : dbf962b1fd3f4121f0bcc8276e932f0c49ab90b3
2018-03-20 17:08:16 -04:00
Thom Chiovoloni 3fd394bab6 Bug 1447104 - Update addon metadata in TPS to new format r=markh
MozReview-Commit-ID: BqxqzH2OppR

--HG--
extra : rebase_source : b5fcd848983999c49553bcbfd0f1e9ecbfa69e3d
2018-03-19 13:19:13 -07:00
Dylan Turner ext:(%2C%20Kit%20Cambridge%20%3Ckit%40yakshaving.ninja%3E) f830bc92bd Bug 1295510 - Replace all uses of `new String` with POJOs in Sync. r=eoger,tcsc
MozReview-Commit-ID: K9jni7AbPsu

--HG--
extra : rebase_source : aa7164ad089bffbff4b9be3c0b056d83b82eb635
2018-03-16 17:38:17 -07:00
Mark Banner 5d0c2063f4 Bug 1437516 - Remove nsINavHistoryService/nsINavBookmarksService::runInBatchMode. r=mak
MozReview-Commit-ID: D1H3xdjpMAx

--HG--
extra : rebase_source : 3ad1d72758c20bf0b4964d212565c720654984e0
2018-03-13 16:19:33 +00:00
Kit Cambridge 242cde0bed Bug 1199077 - Sync changes to store the history sync ID and last sync time in Places. r=markh
MozReview-Commit-ID: 59kON9kHvfP

--HG--
extra : rebase_source : 2a56151e79a8928681bbbaa818bcb98e60c859c4
2018-02-16 19:32:52 -08:00
Kit Cambridge d7bcbba2d7 Bug 1199077 - Sync changes to store the bookmarks sync ID and last sync time in Places. r=tcsc
MozReview-Commit-ID: 6ddzpNtMmzb

--HG--
extra : rebase_source : a1cbf5aefbcf13360322a1ba51ae6e0ec1808264
2018-03-02 15:32:19 -08:00
Kit Cambridge 0c40fa1232 Bug 1199077 - Split change sources for automatic and manual bookmark restores. r=mak
MozReview-Commit-ID: 1glcCPj2X90

--HG--
extra : rebase_source : 2d8372029df5851ecbb30a65393325442addd84c
2018-03-01 13:37:13 -08:00
Kit Cambridge c108e1ce76 Bug 1199077 - Convert `lastSync` and `syncID` into async accessors. r=eoger
MozReview-Commit-ID: Ltkmo8qAgjK

--HG--
extra : rebase_source : e33d3b873fe9638520605ed33fe2359519ae1760
2018-03-02 14:53:06 -08:00
Thom Chiovoloni e3b03845cc Bug 1031855 - Add test that sync password application does the right thing for duplicates. r=markh
MozReview-Commit-ID: HIrWdzAZmkC

--HG--
extra : rebase_source : e5e172f0a07716fc569b91fa4ab91ff99aa654a0
2018-03-07 13:01:12 -08:00
Mark Banner 2155e56144 Bug 1310295 - Make left pane queries virtual in the Places Library window. r=kitcambridge,mak
MozReview-Commit-ID: DcEMAlrXu8R

--HG--
extra : rebase_source : c98e6a50702ef0c238d036fa2a26f4a6ac9f15af
2018-02-16 20:30:04 +00:00
Dorel Luca 7065341d2f Backed out 2 changesets (bug 1310295) for Mochitest and TV failures on browser/components/places/tests/browser/browser_bookmark_folder_moveability.js
Backed out changeset a277657bfffa (bug 1310295)
Backed out changeset b1af75c617ea (bug 1310295)

--HG--
extra : rebase_source : cb7317f5afa7c828ec3b6d9b7679b474fa9cf5da
2018-03-14 18:23:46 +02:00
Mark Banner 80abee119b Bug 1310295 - Make left pane queries virtual in the Places Library window. r=kitcambridge,mak
MozReview-Commit-ID: DcEMAlrXu8R

--HG--
extra : rebase_source : a956958f5c9adde0ee775e9bc918a8970564bbb7
2018-02-16 20:30:04 +00:00
Margareta Eliza Balazs a4f6493b6e Merge autoland to mozilla-central. a=merge 2018-03-13 00:09:19 +02:00
ffxbld 99df6dad05 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-03-12 13:20:48 +00:00
Thom Chiovoloni 5eed655bc6 Bug 1444173 - Fix typoed bitwise and in bookmark validator r=kitcambridge
MozReview-Commit-ID: 6nRTbHl4AJw

--HG--
extra : rebase_source : 5935a9f9cbca8282fc43e0bea3f9e3223c460a48
2018-03-08 11:45:48 -08:00
Thom Chiovoloni 3cfd824081 Bug 1443277 - ensure TPS initializes formAutofillStorage in autofill tests r=eoger
MozReview-Commit-ID: 1iGnX2f3JzU

--HG--
extra : rebase_source : 2ac41f995a677cb5484e6c48b6e3e5228a00d12f
2018-03-05 12:20:56 -08:00
Mark Hammond 2e4c910891 Bug 1443388 - don't allow empty folderName strings in to or out of Sync. r=kitcambridge
MozReview-Commit-ID: FRa9YKE8qKJ

--HG--
extra : rebase_source : cd501abda7982414a19d2be108ffa00196071a59
2018-03-07 08:34:18 +11:00
Thom Chiovoloni ff385c8a15 Bug 1443268 - Remove test_places_guid_downgrade.js from sync r=kitcambridge
MozReview-Commit-ID: 2P8EnTfugmz

--HG--
extra : rebase_source : f0f9cc89b6005bcb010e7ddf8d6687e647f47891
2018-03-06 12:30:44 -08:00
Sebastian Hengst a4aace7084 Backed out changeset ba1e431204ab (bug 1443268) for failing xpcshell tests in services/sync/. CLOSED TREE 2018-03-07 20:20:02 +02:00
Thom Chiovoloni f5186c51a0 Bug 1443268 - Remove test_places_guid_downgrade.js from sync r=kitcambridge
MozReview-Commit-ID: 2P8EnTfugmz

--HG--
extra : rebase_source : 58f2760afa9cd1d23df4bcc1c8f40cee67bd66fd
2018-03-06 12:30:44 -08:00
Bogdan Tara 2680808115 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-07 12:07:19 +02:00
Nicholas Nethercote 038a72de3b Bug 440908 - Add support for `sticky` and `locked` attributes to default prefs. r=glandium
Sticky prefs are already specifiable with `sticky_pref`, but this is a more
general attribute mechanism. The ability to specify a locked pref in the data
file is new.

The patch also adds nsIPrefService.readDefaultPrefsFromFile, to match the
existing nsIPrefService.readUserPrefsFromFile method, and converts a number of
the existing tests to use it.

MozReview-Commit-ID: 9LLMBJVZfg7

--HG--
extra : rebase_source : fa25bad87c4d9fcba6dc13cd2cc04ea6a2354f51
2018-03-02 15:31:40 +11:00
Edouard Oger 4aea0be2d6 Bug 1439777 p2 - Remove weave:ui:* related code. r=markh,tcsc
MozReview-Commit-ID: D1H36YeiJCS

--HG--
extra : rebase_source : 16b7f01ed6f9b03534945d718c567dad0daa4ff3
2018-02-22 16:30:39 +08:00
Edouard Oger 107ba8802d Bug 1439777 p1 - Remove X-Weave-Alert support. r=markh
MozReview-Commit-ID: L9GTrn8HPYJ

--HG--
extra : rebase_source : a8aef5d519ffa4a4c95f6dba2bdd3c6be7dd9d30
2018-02-22 15:44:11 +08:00
Daniel Marshall d337129b4a Bug 1434483 - Renamed profileStorage singleton to formAutofillStorage to make it more clear; r=MattN
MozReview-Commit-ID: CaPYBGLfs5I

--HG--
extra : rebase_source : ea59d03458c0e253201fd2c1476062dfb2e9a3d6
2018-02-10 21:23:19 +00:00
Narcis Beleuzu 8c7d795b53 Backed out 2 changesets (bug 1439777) for xpcshell failures on /test_errorhandler_2.js
Backed out changeset d99402ad9ecc (bug 1439777)
Backed out changeset 1af3426dc956 (bug 1439777)
2018-03-06 04:43:41 +02:00
Edouard Oger 934abf11b3 Bug 1439777 p2 - Remove weave:ui:* related code. r=markh,tcsc
MozReview-Commit-ID: D1H36YeiJCS

--HG--
extra : rebase_source : dd7218b5f0bd36dc4c71d2a7c95a92bba4da2d12
2018-02-22 16:30:39 +08:00
Edouard Oger 407a0c6150 Bug 1439777 p1 - Remove X-Weave-Alert support. r=markh
MozReview-Commit-ID: L9GTrn8HPYJ

--HG--
extra : rebase_source : b2545e8447632bd5f22eb348f538cffa4ed1cc10
2018-02-22 15:44:11 +08:00
Narcis Beleuzu 34b2bf4c13 Backed out changeset a8130e46c530 (bug 1434483) for ESlint failures on browser_change_shipping.js. CLOSED TREE 2018-03-05 23:50:02 +02:00
Daniel Marshall 57b922d77c Bug 1434483 - Renamed profileStorage singleton to formAutofillStorage to make it more clear; r=MattN
MozReview-Commit-ID: CaPYBGLfs5I

--HG--
extra : rebase_source : 379bd1db1e50ae415806713878e6b3ef36889e89
2018-02-10 21:23:19 +00:00
Thom Chiovoloni cbd801244d Bug 1443216 - Fix overzealous login check in TPS. r=kitcambridge
MozReview-Commit-ID: BVzyKyEb3C1

--HG--
extra : rebase_source : 64683027c4d0d5bc22d7041bb6800002f8cb00d8
2018-03-05 10:30:04 -08:00
shindli 51dcc3d916 Backed out 2 changesets (bug 1439777) for browser chrome in browser/components/customizableui/test/browser_remote_tabs_button.js and xpc-shell failures in services/sync/tests/unit/test_errorhandler_2.js on a CLOSED TREE
Backed out changeset 6e83f07e8f2f (bug 1439777)
Backed out changeset 8856efbc78a7 (bug 1439777)

--HG--
extra : histedit_source : 6472e71267b81d2ed8782eeb900c8e12b3e58e52
2018-03-05 18:59:03 +02:00
Edouard Oger e68b9239b3 Bug 1439777 p2 - Remove weave:ui:* related code. r=markh,tcsc
MozReview-Commit-ID: D1H36YeiJCS

--HG--
extra : rebase_source : e90de5b437cc7fa8afcbe174c7bfb7bdce5b4c90
2018-02-22 16:30:39 +08:00
Edouard Oger b351304538 Bug 1439777 p1 - Remove X-Weave-Alert support. r=markh
MozReview-Commit-ID: L9GTrn8HPYJ

--HG--
extra : rebase_source : 969290921bec33aeeacc9f1eba4e7962c9f8ffa2
2018-02-22 15:44:11 +08:00
Thom Chiovoloni 111625afbc Bug 1425152 - Update lastSync timestamp even if some sync engines failed r=markh
MozReview-Commit-ID: HTWuZsp5Evb

--HG--
extra : rebase_source : 35240ec21bd902e46493d5f0d62a5cb136f7861e
2018-02-20 18:56:35 -05:00
Thom Chiovoloni da94fcbe03 Bug 1408551 - Set hasDupe on outgoing bookmarks when using the buffer r=kitcambridge
MozReview-Commit-ID: BU5Hbkn5OKH

--HG--
extra : rebase_source : 1c972a4a19075ab425a9232df04b5b873a8dd776
2018-02-22 19:38:55 -05:00
Thom Chiovoloni 9eb8addbc6 Bug 1441666 - Add helper functions for inserting encrypted records to the test server r=kitcambridge
This also converts some of our tests to use them. In particular,

1. All of the new functions should have coverage.
2. None of the existing tests should assume we can decrypt records by
   JSON.parsing them.

MozReview-Commit-ID: y7Hw3q9Wko

--HG--
extra : rebase_source : 9c20066da174c598c02ca70882afa0b17ed8a932
2018-02-21 16:35:45 -05:00
Mark Hammond 00c0357e61 Bug 1442443 - remove all event loop spinning from Async.js. r=eoger
MozReview-Commit-ID: 9Sc9kfx47yU

--HG--
extra : rebase_source : e663727b1ed00ae931ef051a99268a04a756dfb8
2018-03-02 10:20:18 +11:00
Dorel Luca c532ed00b6 Backed out changeset 885ab31f399b (bug 1441666) for xpcshell failure on browser/extensions/formautofill/test/unit/test_sync.js. CLOSED TREE 2018-03-02 00:37:49 +02:00
Dorel Luca c581e7d1ce Backed out changeset 017d83ffe0a4 (bug 1425152) for xpcshell failure on browser/extensions/formautofill/test/unit/test_sync.js on a CLOSED TREE 2018-03-01 23:58:42 +02:00
Thom Chiovoloni e3d5fe3c3c Bug 1425152 - Update lastSync timestamp even if some sync engines failed r=markh
MozReview-Commit-ID: HTWuZsp5Evb

--HG--
extra : rebase_source : 35240ec21bd902e46493d5f0d62a5cb136f7861e
2018-02-20 18:56:35 -05:00
Thom Chiovoloni 53b0f58d94 Bug 1435067 - Use the pingsender when sending the sync ping r=gfritzsche,markh
MozReview-Commit-ID: 2x98suZvfr0

--HG--
extra : rebase_source : 7282863bbe33c46b124bddd9f870b3355789f0f7
2018-02-01 16:38:41 -05:00
Thom Chiovoloni 841af14188 Bug 1441666 - Add helper functions for inserting encrypted records to the test server r=kitcambridge
This also converts some of our tests to use them. In particular,

1. All of the new functions should have coverage.
2. None of the existing tests should assume we can decrypt records by
   JSON.parsing them.

MozReview-Commit-ID: y7Hw3q9Wko

--HG--
extra : rebase_source : 9ca35fe197b0312d53961567c8298e4ee75d051b
2018-02-21 16:35:45 -05:00
Edouard Oger b2cd60e2b5 Bug 1433178 p2 - Allow callers to SyncedBookmarksMirror.apply() to pass explicit weak uploads. r=kitcambridge
MozReview-Commit-ID: EqVmk7AqHWS

--HG--
extra : rebase_source : e4c93aa30f66a8313e5e372b35e929b1472227c6
2018-02-27 18:01:19 -05:00
Sebastian Hengst 3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Florian Quèze f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze c546946f86 Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8. 2018-02-28 18:51:34 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Andreea Pavel fa0861e443 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-02-28 00:24:02 +02:00
Marco Bonardo e085aaa596 Bug 1432425 - Remove synchronous Bookmarks::RemoveFolderChildren. r=kitcambridge,standard8
MozReview-Commit-ID: GPrNcmEIgpZ

--HG--
rename : toolkit/components/places/tests/unit/sync_utils_bookmarks.html => toolkit/components/places/tests/sync/sync_utils_bookmarks.html
rename : toolkit/components/places/tests/unit/sync_utils_bookmarks.json => toolkit/components/places/tests/sync/sync_utils_bookmarks.json
rename : toolkit/components/places/tests/unit/test_sync_utils.js => toolkit/components/places/tests/sync/test_sync_utils.js
extra : rebase_source : b94d8f1b800f440096cba0823c49dd001401515b
2018-02-25 21:44:41 +01:00
Peter Van der Beken 6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Andrew Swan aeee120808 Bug 1402064 Switch to modern AMO metadata API r=kmag
Switch from the old XML-based AMO metadata API to the modern JSON based
API.  This turned into something between a modest update and complete
rewrite.  Most notably, external APIs became (mostly) promise-based.  The
exception is getCachedAddonById() which XPIInstall.jsm requires a
synchronous callback from.

Also, hopefully we will be able to get rid of a bunch of this metadata
handling soon.  If this code had a long life ahead of it, the unit tests
could use some more attention, but I mostly did the minimum here just to
keep them running for now with the expectation that we'll be able to get
rid of them within some small number of months.

MozReview-Commit-ID: 3DRaBdWGaiJ

--HG--
rename : services/sync/tests/unit/addon1-search.xml => services/sync/tests/unit/addon1-search.json
rename : services/sync/tests/unit/bootstrap1-search.xml => services/sync/tests/unit/bootstrap1-search.json
rename : services/sync/tests/unit/missing-sourceuri.xml => services/sync/tests/unit/missing-sourceuri.json
rename : services/sync/tests/unit/missing-xpi-search.xml => services/sync/tests/unit/missing-xpi-search.json
rename : services/sync/tests/unit/rewrite-search.xml => services/sync/tests/unit/rewrite-search.json
rename : services/sync/tests/unit/systemaddon-search.xml => services/sync/tests/unit/systemaddon-search.json
extra : rebase_source : f25d78b938768041c5c05b72a1f7ff3a7dee8275
2018-01-10 14:18:20 -08:00
Valentin Gosu ec9082b60a Bug 1433958 - Change code that sets nsIURI.query to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: JKW8IsaFY10

--HG--
extra : rebase_source : 45ffa07c34739adf4de681fec1370645b0f74985
2018-02-26 20:43:46 +01:00
Csoregi Natalia 1ca9a26647 Backed out changeset bf5c890bbac1 (bug 1408551) for xpcshell failures on test_bookmark_kinds.js. CLOSED TREE 2018-02-27 02:06:31 +02:00
Edouard Oger 25db2f7ed6 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 706d6a9a1187e9b666074d0dd68d03eda3fb448b
2018-02-15 11:24:44 +08:00
Thom Chiovoloni dbae7d4792 Bug 1408551 - Set hasDupe on outgoing bookmarks when using the buffer r=kitcambridge
MozReview-Commit-ID: BU5Hbkn5OKH

--HG--
extra : rebase_source : 815e2b1ce4c8b9a34144fd54d7d6e48d6c6bcbfc
2018-02-22 19:38:55 -05:00
Thom Chiovoloni 28add38cd6 Bug 1435588 - (part 3) Avoid applying the bookmarks buffer if we failed to store all records r=kitcambridge
MozReview-Commit-ID: GJ8OHBuh6m0

--HG--
extra : rebase_source : ea3fc302c64d4119d8e407411f9a3a1ba0b428cb
2018-02-22 18:24:02 -05:00
Thom Chiovoloni c82baa71a3 Bug 1435588 - (part 2) Request records oldest first with the bookmarks buffer r=kitcambridge
This also adds a check that the sort order is valid to record.js,
since I accidentally spelt it "oldest", which didn't work at all.

MozReview-Commit-ID: 2edyyjcwGqx

--HG--
extra : rebase_source : 051378c4f79f703563a1e14a32a28956f9dcf12b
2018-02-22 18:06:45 -05:00
Thom Chiovoloni 8d161b9820 Bug 1435588 - (part 1) Avoid inserting records one at a time when using the sync bookmark buffer r=kitcambridge
MozReview-Commit-ID: 6xRhLrrqVok

--HG--
extra : rebase_source : 31757c405b1b16ace6103d39133cc2dfc6df11c8
2018-02-20 15:12:05 -05:00
Csoregi Natalia c8a2d994c8 Backed out changeset 22901b9f9199 (bug 1434706) for browser-chrome failures browser_contextmenu_sendtab.js. CLOSED TREE 2018-02-26 21:16:01 +02:00
Edouard Oger 7c03ced862 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 7a19b04f9df52ff58f9837d9d45be54fd3190ec9
2018-02-15 11:24:44 +08:00
Mark Banner 6afe18b30a Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian
MozReview-Commit-ID: HmliR8iNRDq

--HG--
extra : rebase_source : 483ae0b54b9e781cceac2accdfb2255d725ace6a
2018-02-22 16:55:36 +00:00
Marco Bonardo 2148575790 Bug 1432426 - Remove synchronous Bookmarks::moveItem. r=standard8
MozReview-Commit-ID: Bg5Py6aiEDw

--HG--
extra : rebase_source : 1b2bbd46ee3e7c374b172553ebb9ed9da59def70
2018-02-24 16:10:47 +01:00
Mark Hammond 0ed1cfff09 Bug 1435929 - refactor browserid_identity.js to be less confusing and error prone. r=eoger,tcsc
MozReview-Commit-ID: IJPQv4ZvJlp

--HG--
extra : rebase_source : b3ed7ebfc2ccaf1dd23775372b2f4bb04b526ad8
2018-02-06 14:05:45 +11:00
Ciure Andrei 2a61dd0967 Backed out changeset 2e7cc4dc999c (bug 1435929) for eslint failure at /builds/worker/checkouts/gecko/services/sync/modules/browserid_identity.js a=backout on a CLOSED TREE 2018-02-25 09:37:26 +02:00
Mark Hammond 6afd2c2ec1 Bug 1435929 - refactor browserid_identity.js to be less confusing and error prone. r=eoger,tcsc
MozReview-Commit-ID: IJPQv4ZvJlp

--HG--
extra : rebase_source : d3052d120778dc1e8111ba76ee9df285d5483786
2018-02-06 14:05:45 +11:00
Mark Banner 4bc9f77582 Bug 1440718 - Enable no-unused-vars for global scope on jsm files in services/sync/. r=kitcambridge
MozReview-Commit-ID: 77z0qScZw2P

--HG--
extra : rebase_source : a2fa7688e72e225bc54a047c2e46822f13af21f2
2018-02-23 17:05:05 +00:00
Sebastian Hengst 7be9fed7d0 merge mozilla-inbound to mozilla-central. a=merge 2018-02-24 02:58:35 +02:00
Florian Quèze 682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Marco Bonardo e3b58c0292 Bug 656936 - Remove Bookmarks::GetRemoveFolderTransaction. r=standard8
MozReview-Commit-ID: DLyjzC7ODyB

--HG--
extra : rebase_source : 4d71ab1909ca6e1065e31dc1824de3b119e05e7c
2018-02-23 17:27:43 +01:00