Commit Graph

5025 Commits

Author SHA1 Message Date
Thom Chiovoloni
ee6fffd334 Bug 1412332 - Enable sync passwords validator for nightly and beta users. r=markh
This also fixes an issue where our engine enabled preference listener was overzealous.

MozReview-Commit-ID: DphLaEUkyOz

--HG--
extra : rebase_source : fdcf154adf2cb11ac3bb0140670ce2dce68f4586
2018-01-31 20:00:29 -05:00
Marco Bonardo
ee28acdb29 Bug 539517 - remove synchronous Bookmarks::SetItemIndex API. r=standard8
MozReview-Commit-ID: 20kwLPazqPC

--HG--
extra : rebase_source : 7ac31306185573f6f94bcef4e89257d6a2ea2c2d
2018-02-08 18:45:00 +01:00
Edouard Oger
a0cec42f04 Bug 1415951 - Extend TPS to support Addresses and Credit Cards. r=tcsc
MozReview-Commit-ID: 8VKBvm60ZSH

--HG--
extra : rebase_source : 88cb7b4145db018517c920907da79c70c46d50d2
2018-02-05 14:39:32 -06:00
Thom Chiovoloni
a98bc19750 Bug 1432995 - Check for HTTP error codes before error strings in the sync ping. r=markh
MozReview-Commit-ID: KU15HVElChU

--HG--
extra : rebase_source : e0baba3644582aa16449bd87bf06bc611657fab5
2018-01-29 15:01:04 -05:00
Nathan Watson
1605552221 Bug 1434262 - Remove PlacesTestUtils.clearHistory() r=mak
MozReview-Commit-ID: In2RaM0LBsc

--HG--
extra : rebase_source : 0cb5dc65a53bfa384b93fb2a8c2af67ad9d3fe1c
2018-01-31 22:03:05 -08:00
Edouard Oger
626be20bbb Bug 1427674 - Unify FxA content server URL preferences. r=markh,tcsc
MozReview-Commit-ID: 3zhHGAzQr0R

--HG--
extra : rebase_source : 013457dfb434c92134d2f244b389d21620c83595
2018-01-30 13:21:35 -05:00
Edouard Oger
f5d827c682 Bug 1436637 - Revert back to a sync observer in Service. r=markh
MozReview-Commit-ID: 2X7mo3stuy7

--HG--
extra : rebase_source : 1dfa43a9237baca4bbb08f98f14d3ccfd2888ee4
2018-02-08 12:14:46 +08:00
Edouard Oger
fe060b9d44 Bug 1436636 - Properly start/stop clients engine tracker. r=markh
MozReview-Commit-ID: 19Xv1Hj18Nu

--HG--
extra : rebase_source : 7d81f54ec00891d3e0fa40e2930a01c9821cf684
2018-02-08 11:45:22 +08:00
Marco Bonardo
f3d9e285fa Bug 1437040 - Remove synchronous Bookmarks::GetItemIndex. r=standard8
MozReview-Commit-ID: GpNkBI1Qe42

--HG--
extra : rebase_source : 3a17c1f81aa4375a4a111ed2d17ffad241a77d81
2018-02-09 15:23:21 +01:00
Thom Chiovoloni
d28f3cab37 Bug 1435655 - Ensure we properly initialize previousFailed and toFetch r=eoger
MozReview-Commit-ID: KT9tJCSuUGh

--HG--
extra : rebase_source : 4b56237ff1f7c01c33f6b0bbe7baeefb0418efce
2018-02-05 11:39:30 -05:00
Mark Banner
362505f227 Bug 1423896 - Make the All Bookmarks folder for the left pane of the Library a virtual query. r=mak
MozReview-Commit-ID: HzJ9y1fiEz1

--HG--
extra : rebase_source : 27b0280e9dfef2626d187f9b8a81f23e4583302f
2017-12-07 14:15:39 +00:00
Coroiu Cristina
1c85c04c62 Backed out 5 changesets (bug 1423896) for bustage at /src/toolkit/components/places/nsNavHistoryResult.cpp on a CLOSED TREE
Backed out changeset 4012bc74e900 (bug 1423896)
Backed out changeset 12239646395f (bug 1423896)
Backed out changeset abf61cd5fb77 (bug 1423896)
Backed out changeset 569173c95238 (bug 1423896)
Backed out changeset 6401e950298d (bug 1423896)
2018-02-07 14:07:31 +02:00
Mark Banner
7785b2e489 Bug 1423896 - Make the All Bookmarks folder for the left pane of the Library a virtual query. r=mak
MozReview-Commit-ID: HzJ9y1fiEz1

--HG--
extra : rebase_source : 27b0280e9dfef2626d187f9b8a81f23e4583302f
2017-12-07 14:15:39 +00:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Gurzau Raul
bb16936244 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-02 00:25:44 +02:00
Gurzau Raul
1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
David Keeler
087f092867 bug 1421084 - part 4/4 - remove nsNSSShutDown.h and (hopefully) all references to it r=mt,ttaubert
MozReview-Commit-ID: 2mhvHsC5Nil

--HG--
extra : rebase_source : 651c2bcf8655f75756ea2bac788eb8c0781dc90a
2018-01-24 14:44:01 -08:00
David Keeler
ad5cec4768 bug 1421084 - part 3/4 - remove nsNSSShutDownObject::shutdown and virtualDestroyNSSReference r=mt,ttaubert
MozReview-Commit-ID: ErL7ZjAGVVC

--HG--
extra : rebase_source : 2869aafaef729f0ad190f957919e8b9c40700477
2018-01-24 14:29:08 -08:00
David Keeler
a0e34baf27 bug 1421084 - part 2/4 - remove nsNSSShutDownObject::isAlreadyShutDown() r=mt,ttaubert
MozReview-Commit-ID: DlS16pHE0Ik

--HG--
extra : rebase_source : d7596a3571478adefae4ffa5d446ff5234ba9ed7
2018-01-23 12:22:56 -08:00
David Keeler
e8cc0ba1ce bug 1421084 - part 1/4 - remove now-unnecessary nsNSSShutDownPreventionLock r=mt,ttaubert
As of bug 1417680, the NSS shutdown tracking infrastructure is unnecessary (and
does nothing anyway). This series of changesets removes the remaining pieces in
a way that is hopefully easy to confirm is correct.

MozReview-Commit-ID: 8Y5wpsyNlGc

--HG--
extra : rebase_source : ef6b481510d949e404a4ef5615097d66e566c947
2018-01-23 10:37:47 -08:00
Edouard Oger
e3f37a97a4 Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: IvwyleXBcNH

--HG--
extra : rebase_source : eb8f5db734cedb2810642723ed1652defeb16d88
2018-01-04 18:07:10 -05:00
Edouard Oger
815460e8cf Bug 633062 p7 - Make most of the addon reconciler async. r=markh
Except observers, which will be handled in the last commit of this series.

MozReview-Commit-ID: IvwyleXBcNH

--HG--
extra : rebase_source : 8054777b015c3b07c6599bdb00c9d32572313395
2017-12-07 17:56:50 -05:00
Edouard Oger
71ff2629c2 Bug 633062 p6 - Remove event loop spinning from head_helper.js addon-related methods. r=markh
MozReview-Commit-ID: 4Be253tJlXq

--HG--
extra : rebase_source : 461b2c5ad4076d39933b491a6d7a0065e2eb75b3
2017-12-08 16:07:49 -05:00
Edouard Oger
4bc7feea45 Bug 633062 p5 - Remove event loop spinning from addonutils.js. r=markh
MozReview-Commit-ID: 1PSX4tOieEH

--HG--
extra : rebase_source : c68d862761e9704e8cbb3235ce5491cb6d091c59
2017-12-08 15:34:29 -05:00
Edouard Oger
825e2fa2b1 Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
MozReview-Commit-ID: IDGWJevEHLK

--HG--
extra : rebase_source : 0db05e713e55d680a85a1280d6540eec8c39f96c
2017-12-08 14:41:02 -05:00
Edouard Oger
5568486701 Bug 633062 p3 - Remove event loop spinning from the EngineManager. r=markh
MozReview-Commit-ID: 7tdKT8Wo3t4

--HG--
extra : rebase_source : 49b36a171f0bedf3ca04255af478bcec733d991b
2017-12-08 13:10:25 -05:00
Edouard Oger
01342b993b Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
Also move promiseStopServer to the common/ head_helpers.js

MozReview-Commit-ID: B3Idnj6rPAZ

--HG--
extra : rebase_source : adb07d381aca118b9b49971f87e68a239dbcfb70
2017-12-07 14:45:15 -05:00
Edouard Oger
81b643a035 Bug 633062 p1 - Introduce AsyncQueueCaller and AsyncObserver. r=markh
MozReview-Commit-ID: GGuSkA5DZUQ

--HG--
extra : rebase_source : 54446d6d3758c17e2ce7423a4684f8cd35d052c5
2018-01-04 18:06:57 -05:00
Noemi Erli
9df7ea51ac Backed out 8 changesets (bug 633062) as requested by eoger on a CLOSED TREE
Backed out changeset 590656f7b5c5 (bug 633062)
Backed out changeset 0888aa122056 (bug 633062)
Backed out changeset 0780cf391c52 (bug 633062)
Backed out changeset 9798cbd03027 (bug 633062)
Backed out changeset 4b31c73a585f (bug 633062)
Backed out changeset 0a8866062136 (bug 633062)
Backed out changeset 20ff83289564 (bug 633062)
Backed out changeset 5e52125316e1 (bug 633062)
2018-01-31 22:09:30 +02:00
Edouard Oger
6991ad1d07 Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: IvwyleXBcNH

--HG--
extra : rebase_source : 30b4e09cb2a5f0da1845c842a464a277554f61a4
2018-01-04 18:07:10 -05:00
Edouard Oger
a636cbd98f Bug 633062 p7 - Make most of the addon reconciler async. r=markh
Except observers, which will be handled in the last commit of this series.

MozReview-Commit-ID: IvwyleXBcNH

--HG--
extra : rebase_source : 8054777b015c3b07c6599bdb00c9d32572313395
2017-12-07 17:56:50 -05:00
Edouard Oger
1cf9cd890d Bug 633062 p6 - Remove event loop spinning from head_helper.js addon-related methods. r=markh
MozReview-Commit-ID: 4Be253tJlXq

--HG--
extra : rebase_source : 461b2c5ad4076d39933b491a6d7a0065e2eb75b3
2017-12-08 16:07:49 -05:00
Edouard Oger
8a13eb4d47 Bug 633062 p5 - Remove event loop spinning from addonutils.js. r=markh
MozReview-Commit-ID: 1PSX4tOieEH

--HG--
extra : rebase_source : c68d862761e9704e8cbb3235ce5491cb6d091c59
2017-12-08 15:34:29 -05:00
Edouard Oger
7f72c53748 Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
MozReview-Commit-ID: IDGWJevEHLK

--HG--
extra : rebase_source : 0db05e713e55d680a85a1280d6540eec8c39f96c
2017-12-08 14:41:02 -05:00
Edouard Oger
9a26bd581d Bug 633062 p3 - Remove event loop spinning from the EngineManager. r=markh
MozReview-Commit-ID: 7tdKT8Wo3t4

--HG--
extra : rebase_source : 49b36a171f0bedf3ca04255af478bcec733d991b
2017-12-08 13:10:25 -05:00
Edouard Oger
ea2b2a9409 Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
Also move promiseStopServer to the common/ head_helpers.js

MozReview-Commit-ID: B3Idnj6rPAZ

--HG--
extra : rebase_source : adb07d381aca118b9b49971f87e68a239dbcfb70
2017-12-07 14:45:15 -05:00
Edouard Oger
b8b1fbbf52 Bug 633062 p1 - Introduce AsyncQueueCaller and AsyncObserver. r=markh
MozReview-Commit-ID: GGuSkA5DZUQ

--HG--
extra : rebase_source : 54446d6d3758c17e2ce7423a4684f8cd35d052c5
2018-01-04 18:06:57 -05:00
Mark Banner
204f9ceae9 Bug 1433983 - Remove deprecated PlacesUtils.setPostDataForBookmark/getPostDataForBookmark functions. r=mak
MozReview-Commit-ID: 9WD2A4jA761

--HG--
extra : rebase_source : 63a66fe95f29102db6a8486525bd430985a8f8ed
2018-01-29 18:31:42 +00:00
Andreea Pavel
2ebbd41c08 Backed out 8 changesets (bug 633062) for failing xpcshell on Windows at services/sync/tests/unit/test_hmac_error.js on a CLOSED TREE
Backed out changeset b4e9cd0d61ab (bug 633062)
Backed out changeset ee294cebe485 (bug 633062)
Backed out changeset 3d1ad6b3bbee (bug 633062)
Backed out changeset c053f43da9e8 (bug 633062)
Backed out changeset 549e1282ae8e (bug 633062)
Backed out changeset 35058a83dab0 (bug 633062)
Backed out changeset 2e9dc98eabf0 (bug 633062)
Backed out changeset dbbacd08392c (bug 633062)
2018-01-31 10:07:34 +02:00
Edouard Oger
4c8c0752bd Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: IvwyleXBcNH

--HG--
extra : rebase_source : a517b2fbaede8e8b7566d127710f0dceb8e7d4f2
2018-01-04 18:07:10 -05:00
Edouard Oger
c44950332a Bug 633062 p7 - Make most of the addon reconciler async. r=markh
Except observers, which will be handled in the last commit of this series.

MozReview-Commit-ID: IvwyleXBcNH

--HG--
extra : rebase_source : b5f9fe43ac2fd956253c571f4cc7b68eb1d928ec
2017-12-07 17:56:50 -05:00
Edouard Oger
072adbdabf Bug 633062 p6 - Remove event loop spinning from head_helper.js addon-related methods. r=markh
MozReview-Commit-ID: 4Be253tJlXq

--HG--
extra : rebase_source : f0f094132beb18960fc1115adfa82bfb15caae28
2017-12-08 16:07:49 -05:00
Edouard Oger
b6df353d2b Bug 633062 p5 - Remove event loop spinning from addonutils.js. r=markh
MozReview-Commit-ID: 1PSX4tOieEH

--HG--
extra : rebase_source : e8804e1428c78d47fbc776e74da61d5de4e5f402
2017-12-08 15:34:29 -05:00
Edouard Oger
b8cb936b01 Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
MozReview-Commit-ID: IDGWJevEHLK

--HG--
extra : rebase_source : 8471048a68b9b6204402f3ea9039a21af8c3740c
2017-12-08 14:41:02 -05:00
Edouard Oger
b2c2739a4d Bug 633062 p3 - Remove event loop spinning from the EngineManager. r=markh
MozReview-Commit-ID: 7tdKT8Wo3t4

--HG--
extra : rebase_source : a99f8f1f30010829bf2d4ebd7590953c46b244e2
2017-12-08 13:10:25 -05:00
Edouard Oger
ffdd8c898f Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
Also move promiseStopServer to the common/ head_helpers.js

MozReview-Commit-ID: B3Idnj6rPAZ

--HG--
extra : rebase_source : 0c3ee2b37448467fdd7fec04dbdf39255608901b
2017-12-07 14:45:15 -05:00
Edouard Oger
a99869ed33 Bug 633062 p1 - Introduce AsyncQueueCaller and AsyncObserver. r=markh
MozReview-Commit-ID: GGuSkA5DZUQ

--HG--
extra : rebase_source : 496d90945ec2e6d41f5751d26cf87a14458961bb
2018-01-04 18:06:57 -05:00
Dorel Luca
9f8b519dae Backed out 8 changesets (bug 633062) for xpcshell failures on browser/extensions/formautofill/test/unit/test_sync.js on a CLOSED TREE
Backed out changeset d60ca66f2b62 (bug 633062)
Backed out changeset d80494d5bc36 (bug 633062)
Backed out changeset 33f832b59e86 (bug 633062)
Backed out changeset 968db19986aa (bug 633062)
Backed out changeset a55a3647ea49 (bug 633062)
Backed out changeset bb1030bdab48 (bug 633062)
Backed out changeset 9c4cd2a6965c (bug 633062)
Backed out changeset 669c76bd2618 (bug 633062)

--HG--
extra : amend_source : cf95d15507de46de393cdef797a5808c4e0407ff
2018-01-31 07:28:06 +02:00
Edouard Oger
65e746d5d2 Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: IvwyleXBcNH

--HG--
extra : rebase_source : 254006b5d64f425e4cabca6c02e8b20dce983d8e
2018-01-04 18:07:10 -05:00
Edouard Oger
bd9720e7f2 Bug 633062 p7 - Make most of the addon reconciler async. r=markh
Except observers, which will be handled in the last commit of this series.

MozReview-Commit-ID: IvwyleXBcNH

--HG--
extra : rebase_source : b5f9fe43ac2fd956253c571f4cc7b68eb1d928ec
2017-12-07 17:56:50 -05:00
Edouard Oger
3b8568a77b Bug 633062 p6 - Remove event loop spinning from head_helper.js addon-related methods. r=markh
MozReview-Commit-ID: 4Be253tJlXq

--HG--
extra : rebase_source : f0f094132beb18960fc1115adfa82bfb15caae28
2017-12-08 16:07:49 -05:00
Edouard Oger
5491e15085 Bug 633062 p5 - Remove event loop spinning from addonutils.js. r=markh
MozReview-Commit-ID: 1PSX4tOieEH

--HG--
extra : rebase_source : e8804e1428c78d47fbc776e74da61d5de4e5f402
2017-12-08 15:34:29 -05:00
Edouard Oger
3e4633d6e3 Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
MozReview-Commit-ID: IDGWJevEHLK

--HG--
extra : rebase_source : 8471048a68b9b6204402f3ea9039a21af8c3740c
2017-12-08 14:41:02 -05:00
Edouard Oger
d3a0ee9183 Bug 633062 p3 - Remove event loop spinning from the EngineManager. r=markh
MozReview-Commit-ID: 7tdKT8Wo3t4

--HG--
extra : rebase_source : a99f8f1f30010829bf2d4ebd7590953c46b244e2
2017-12-08 13:10:25 -05:00
Edouard Oger
546a23d489 Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
Also move promiseStopServer to the common/ head_helpers.js

MozReview-Commit-ID: B3Idnj6rPAZ

--HG--
extra : rebase_source : 0c3ee2b37448467fdd7fec04dbdf39255608901b
2017-12-07 14:45:15 -05:00
Edouard Oger
139cd14eb0 Bug 633062 p1 - Introduce AsyncQueueCaller and AsyncObserver. r=markh
MozReview-Commit-ID: GGuSkA5DZUQ

--HG--
extra : rebase_source : 496d90945ec2e6d41f5751d26cf87a14458961bb
2018-01-04 18:06:57 -05:00
Andrew Swan
1acce175af Bug 1356331 Remove hotfix code from addons manager and related tests r=rhelmer
MozReview-Commit-ID: EjCOOgmXvVH

--HG--
extra : rebase_source : 051c618bd73e7bac41d5dc9339972742b029a879
extra : source : 9af7407fa9309e1fa2dc590309ed2329f02dc61e
2017-12-13 12:33:52 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
vinicius
970b471265 Bug 1433234 - Replace do_check_array_eq by Assert.deepEqual. r=eoger
MozReview-Commit-ID: 7goh46IkVrW
***

--HG--
extra : rebase_source : 2ffdacce0843341c23d43354c135c21ca3d3ec14
2018-01-27 19:29:55 -02:00
Kit Cambridge
2449a744b8 Bug 1305563 - Add a BufferedBookmarksEngine that can be toggled with a pref. r=markh,tcsc
This patch adds a new bookmarks engine, pref'd off, that writes to the
buffer instead of Places.

MozReview-Commit-ID: 7idBa03kOzm

--HG--
extra : rebase_source : 671ebeb3de824dc43c0ef14b2dfe065a33e2911a
2017-12-19 17:10:54 -08:00
Kit Cambridge
8d7187be91 Bug 1305563 - Add a bookmark mirror and two-way merger for synced bookmarks. r=mak,markh,rnewman,tcsc
The mirror matches the complete bookmark tree stored on the Sync
server, stores new bookmarks changed on the server since the last
sync, merges the local and remote trees, applies the resulting merged
tree back to Places, fires observer notifications for all items changed
in the merge, and stages locally changed bookmarks for upload.

MozReview-Commit-ID: MbeFQUargt

--HG--
extra : rebase_source : b635fd65ef10ab9ce3a2f9af2e527d342a790f6e
2018-01-06 07:44:33 -08:00
Thom Chiovoloni
6321345295 Bug 1429250 - Avoid repeated traversals of toFetch in _processIncoming. r=eoger,kitcambridge
MozReview-Commit-ID: N1Zr8iT7da

--HG--
extra : rebase_source : ddaa51704c93985219d15b31aec7ff7e19b2832f
2018-01-09 19:22:33 -05:00
Marco Bonardo
592194dc76 Bug 1432437 - Remove synchronous changeBookmarkURI. r=standard8
MozReview-Commit-ID: Jy76eKCN7wp

--HG--
extra : rebase_source : 84958fcaaacdcdd9a400a546b14eb49fc897752c
2018-01-24 12:13:02 +01:00
Dorel Luca
7831647b90 Backed out changeset 8ebfca2b0c21 (bug 1432437) for Xpcshell test failure on toolkit/components/places/tests/unit/test_sync_utils.js 2018-01-26 01:43:17 +02:00
Marco Bonardo
86b21609be Bug 1432437 - Remove synchronous changeBookmarkURI. r=standard8
MozReview-Commit-ID: Jy76eKCN7wp

--HG--
extra : rebase_source : 2d453281eb9c77c3f23f15a5a390a17e7b880c34
2018-01-24 12:13:02 +01:00
Edouard Oger
f15c1f618e Bug 1433042 - Fix initial FxA login flow. r=tcsc
MozReview-Commit-ID: kaD6Bx7oRk

--HG--
extra : rebase_source : 5eaeda96125215917f5e00d5f6863a0f86020b4e
2018-01-25 11:34:32 -05:00
Thom Chiovoloni
fca1cd0193 Bug 1433003 - Optimize sync by using digestBytes instead of digestUTF8. r=markh
MozReview-Commit-ID: IbyeOUjKdi9

--HG--
extra : rebase_source : 3eb55106004ef68f749a9188f232dbb60f9d1e3d
2018-01-24 20:09:16 -05:00
hemant
df042c21a8 Bug 1370881 - Replace calls to asyncHistory.isURIVisited and promiseIsURIVisited with PlacesUtils.history.hasVisits r=standard8
MozReview-Commit-ID: BHWkJpdYA0g

--HG--
extra : rebase_source : 927cd89c69ed2cdbf6ebf8e954c38238ebbdd273
2018-01-24 20:58:57 +05:30
Thom Chiovoloni
95b5e3bd0e Bug 1405205 - Report bookmark engine as bookmarks-buffered in the sync ping r=kitcambridge
MozReview-Commit-ID: 490KcmRZkfY

--HG--
extra : rebase_source : d3fe0f03c8ed3607c3c0b0ce2a063645dc0d9a70
2017-10-11 17:13:04 -04:00
Mark Hammond
4772b1fe2e Bug 1432277 - Replace iOS and Android link in Prefs for signed-in users with device actions. r=eoger
MozReview-Commit-ID: 1Lwe2g1bFpw

--HG--
extra : rebase_source : 6529420b5a2e1b4438f2472313abbc7e7dcf7dc1
2018-01-23 17:47:19 +11:00
Edouard Oger
d149a0176b Bug 1426306 - Store only derived keys instead of storing kB/kA. r=glasserc,markh,rfkelly
MozReview-Commit-ID: Hgv5hxSH4qX

--HG--
extra : rebase_source : fa6d45480a2078e841c72b2c8c92541811633737
2018-01-05 15:56:00 -05:00
Mark Banner
a773c73dbb Bug 1131491 - Remove old synchronous Place's transactions. r=mak
MozReview-Commit-ID: FNCijeajgeh

--HG--
extra : rebase_source : 4207cdd7b789fbbcce3b2117324ea22e1a313fe6
2018-01-22 15:41:12 +00:00
Simon Fraser
638b7b677e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-01-22 11:19:18 +00:00
Edouard Oger
214ca05b67 Bug 1430970 - Fix FxAccounts internal mocking. r=tcsc
MozReview-Commit-ID: 7ATwZTJ4w5K

--HG--
extra : rebase_source : 6a910fc8b523bfeaaaeef0d53dfaa57f98ff4f52
2018-01-16 22:24:17 -05:00
Edouard Oger
3a4adb8483 Bug 1429154 - Remove FXA_VERIFICATION_METHOD probe. r=tcsc
MozReview-Commit-ID: JK8MVkmPRGK

--HG--
extra : rebase_source : 7ec41a8b77c15bf3c40a931e4e6f5e690ff1b911
2018-01-15 11:21:43 -05:00
Edouard Oger
b5962f73eb Bug 1429245 - Optimize CommonUtils.bytesAsHex. r=tcsc
MozReview-Commit-ID: 2f3o6OwUwn4

--HG--
extra : rebase_source : c18f606ab7963eeee6889c351cf58e61d58fb930
2018-01-10 16:11:22 -05:00
Thom Chiovoloni
6e3bb55bb8 Bug 1412083 - Avoid syncing preferences that refer to moz-extension or blob urls. r=eoger
MozReview-Commit-ID: 9Ipq5z1dykr

--HG--
extra : rebase_source : a8616485879268ce31ef74f4b3fdbc3f4dc5a585
2018-01-09 17:46:24 -05:00
Doug Thayer
1e3446b9cc Bug 1421703 - Fix tests to use onVisits r=mak
Fairly straightforward. Fixes the tests that were broken due to
the changes introduced in part 1.

MozReview-Commit-ID: GbZ9ZpmG9nE

--HG--
extra : rebase_source : ebb2088288718631a941139d5a4d945259aaa0c6
2017-12-14 16:55:31 -06:00
Doug Thayer
b3eef35a05 Bug 1421703 - replace onVisit with onVisits r=mak
There's a heavy enough overhead to going through XPConnect for
every observer for every visit on the nsINavHistoryObserver
interface, so this patch reduces that by replacing the single-
visit notification with one which accepts an array of visits.

Some notes: To avoid problems with the orderings of the various
ways in which we notify about visits, we have to send our bulk
onVisits notification before doing any of the others. This does
mean it technically behaves slightly different than the prior
approach of interleaving the notifications, but I can't find any
way in which this has any consequences to the end result, and it
doesn't break any tests.

MozReview-Commit-ID: GdeooH8mCkg

--HG--
extra : rebase_source : 48b5f886c4650a756e70f4657cb9d62c8ce40f74
2017-12-20 14:27:24 -08:00
Thom Chiovoloni
4f926a87dd Bug 1427835 - Remove redundant TPS addon test and disable validation on the non-restartless XPI test r=markh
MozReview-Commit-ID: JxNw7qIOheo

--HG--
extra : rebase_source : 33bf748394a248178c85292464c8acccf9e106b8
2018-01-03 15:01:49 -05:00
Thom Chiovoloni
9c8f02ad08 Bug 1427850 - Check that sync is ready directly instead of reading the sync username to determine it r=markh
MozReview-Commit-ID: LnQ6Em0GCvM

--HG--
extra : rebase_source : 7455d0eb9b9123d092f6cbacc09cbbf2f686dca3
2018-01-03 15:22:43 -05:00
Mark Hammond
c952b939b9 Bug 1390478 - never block the UI waiting for the FxA profile. r=eoger
MozReview-Commit-ID: 4MNqo9AUuOz

--HG--
extra : rebase_source : b53f108d880f33246b351c5320e47c235ee9c7fb
2017-12-08 11:27:40 +11:00
Jeremy Lempereur
010e4ca3fb Bug 692386 - sync: Add missing requested URL on NS_ERROR_NET_RESET. r=markh
The requested URL was logged on almost each failing request exception.
Added a warn message to log the request method and url when any request fails.

MozReview-Commit-ID: GKwd7HabTp6

--HG--
extra : rebase_source : 012bb9c322ecda93be32f43582492b37e407396d
2018-01-03 12:59:03 +01:00
Thom Chiovoloni
25d3c801bc Bug 1425960 - Optimize sync preference usage r=markh
MozReview-Commit-ID: AMwkvF7Dy3G

--HG--
extra : rebase_source : f44ea9674ad0fd45191220ec6845aa85f68efa10
2017-12-20 12:36:18 -05:00
Thom Chiovoloni
364c629823 Bug 1426742 - Fix TPS test_history and cleanup failures. r=kitcambridge
MozReview-Commit-ID: 8jR4vtwUpOm

--HG--
extra : rebase_source : 72f655998e1e3380d8d4f569356d247906a032b0
2017-12-21 15:15:24 -05:00
Thom Chiovoloni
3e7a2e240e Bug 1425544 - Ensure trace level logging is used throughout sync tests. r=markh
MozReview-Commit-ID: Icl1qk07LKm

--HG--
extra : rebase_source : c0e35f3e435e720f0375b3826ee4ba745d1e134b
2017-12-20 18:29:21 -05:00
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
e0f995ea08 Bug 1421992 - hand written cleanup patch to make xpcshell tests pass after replacing do_check_* with Assert.*, r=Gijs. 2017-12-21 11:08:19 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Mark Hammond
57f9284cef Bug 1425987 - part 2: Cleanup Sync logging by rationalizing preference management. r=tcsc
MozReview-Commit-ID: CQ1vhahnQbc

--HG--
extra : rebase_source : 5456b3afcf2d2d3536b9b546dda67199af4e1bdd
2017-12-19 09:48:31 +11:00
Thom Chiovoloni
4e773dd17f Bug 1423399 - Avoid duplicating synced history visits older than your most recent 20 r=kitcambridge
MozReview-Commit-ID: 2CAutmuJWhb

--HG--
extra : rebase_source : b145ebe8525fa6cb045f99adabfc5ce3d0984f3a
2017-12-18 19:40:38 -05:00
Edouard Oger
9aa875bf0b Bug 664590 - Do not track file:/// visits. r=markh
MozReview-Commit-ID: 6oVDkJU7kai

--HG--
extra : rebase_source : 0d184abb2ba1babc6c6c3ef6ebbb3024a26f81a8
2017-12-06 16:55:45 -05:00
Thom Chiovoloni
208554ebe1 Bug 1423395 - Clamp and truncate microseconds from incoming history visit dates when deduping r=markh
MozReview-Commit-ID: H1lljWcSZLZ

--HG--
extra : rebase_source : c64f20dd38bf4b17f05885df1f6b3ba112efdcb6
2017-12-05 19:40:37 -05:00
Dorel Luca
19230bafde Backed out changeset 0e26ab46cbb7 (bug 1390478) for Xpcshell failure in services/fxaccounts/tests/xpcshell/test_profile.js on a CLOSED TREE
--HG--
extra : amend_source : 37b6f14e6d869559d8794019ba132a061ec01378
2017-12-19 15:29:38 +02:00
Mark Hammond
8d3579fb17 Bug 1390478 - never block the UI waiting for the FxA profile. r=eoger
MozReview-Commit-ID: 4MNqo9AUuOz

--HG--
extra : rebase_source : 283b16e29b7a2a20e9cca87437a08f241bffa832
2017-12-08 11:27:40 +11:00