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

4897 Коммитов

Автор SHA1 Сообщение Дата
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
Mark Hammond 81ef0051dc Bug 1415560 - ignore insertMany result and add an onError handler to log errors. r=tcsc
MozReview-Commit-ID: 8aJkRL8WCPr

--HG--
extra : rebase_source : dceb94744eef3ac50253594a70cec9f32f4cf8d3
2017-12-04 12:49:06 +11:00
Mark Hammond 6b3554dc84 Bug 1423067 - SyncedTabs.jsm now exports the loginFailed getter fixing an issue with the sidebar. r=eoger
MozReview-Commit-ID: AVjfXH1E9uw

--HG--
extra : rebase_source : 8ee64138f5604b12af1f4ffa0cabb73ab6ad5465
2017-12-05 14:46:53 +11:00
Mark Hammond b5876a8b65 Bug 1407116 - Sync now enters the "please reconnect" state if Sync is configured but FxA is not. r=eoger
MozReview-Commit-ID: LuAdYkpe0b7

--HG--
extra : rebase_source : 0fb3ca9ef0912e61354df5ca111a169df3777526
2017-12-04 15:48:45 +11:00
Mark Hammond 734061ef82 Bug 1380215 - FxA now ensures Sync is loaded before sending observer notifications. r=eoger
MozReview-Commit-ID: KUKb421guxt

--HG--
extra : rebase_source : 092ad19374c2db477621c0429f45c9b669d85357
2017-12-05 13:01:05 +11:00
Mark Banner 499ca20f31 Bug 1421968 - Enable ESLint rule mozilla/use-services by default, but whitelist it for various directories still to be fixed. r=mossop
MozReview-Commit-ID: KOZWr7FiDQZ

--HG--
extra : rebase_source : 92c9bc236c9043f6ce25cc2ba45264918eb2ac15
2017-11-28 19:24:12 +00:00
Edouard Oger 54088f8c9e Bug 1422115 - Remove storageserver.js from services/. r=markh,tcsc
MozReview-Commit-ID: 4UGCq6SolY1

--HG--
extra : rebase_source : 49e8a5d072d1cb15d0942e7fbc39c7a2c8c08c6f
2017-11-30 15:11:19 -05:00
Edouard Oger ae62aef149 Bug 1418466 - Add Connect Another Device button to relevant Sync UI. r=dao,markh
MozReview-Commit-ID: 5vBKH9NejVV

--HG--
extra : rebase_source : c160a5a1d7753d41c7afec3a822aefa9461684e6
2017-11-17 16:48:17 -05:00
Noemi Erli e5e82c8496 Backed out changeset 932a77d8fbae (bug 1418466) for ES failures in /builds/worker/checkouts/gecko/browser/base/content/browser-sync.js r=backout on a CLOSED TREE 2017-11-30 18:44:16 +02:00
Edouard Oger 016b5734e5 Bug 1418466 - Add Connect Another Device button to relevant Sync UI. r=dao,markh
MozReview-Commit-ID: 5vBKH9NejVV

--HG--
extra : rebase_source : e8628aba338b19142dc63add9bb380042096053f
2017-11-17 16:48:17 -05:00
Margareta Eliza Balazs cb71a3c4fe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-30 12:55:54 +02:00
Edouard Oger 403ad27bae Bug 1420802 - Remove NetworkLinkService from offline check. r=tcsc
Summary: Remove NetworkLinkService from offline check.

Reviewers: tcsc

Reviewed By: tcsc

Bug #: 1420802

Differential Revision: https://phabricator.services.mozilla.com/D300
2017-11-29 15:15:28 -05:00
Mark Hammond 0dd353e7d5 Bug 1421850 - ensure Sync is fully initialized before syncing. r=tcsc
MozReview-Commit-ID: 7hS3fttgqqr

--HG--
extra : rebase_source : b9a342c1a977699c3c4c42e9bca86ee087a51260
2017-11-30 14:03:57 +11:00
Thom Chiovoloni 788c2ca211 Bug 1421817 - Send a sync ping on shutdown if we have events but no syncs. r=markh
MozReview-Commit-ID: ExxN6UXs2Ip

--HG--
extra : rebase_source : 356d2f7bbfc856859e7b6246939b785f0984fa82
2017-11-29 17:41:59 -05:00
Thom Chiovoloni 302308a0a1 Bug 1336257 - Use HTTPS for mozqa url in TPS. r=markh
MozReview-Commit-ID: Admw1iKeW24

--HG--
extra : rebase_source : 836f3efb3aea6eb2a089c5aecd0f7a10a0bd6787
2017-11-29 18:35:28 -05:00
Mark Hammond 4b66d38dd6 Bug 1420810 - record why we are syncing for most syncs initiated by the scheduler. r=eoger
MozReview-Commit-ID: 1ntqG5yQi7q

--HG--
extra : rebase_source : 73b479ac7e602f5f491f63939a4425af17d6ce25
2017-11-27 17:32:05 +11:00
Mark Hammond 39bf8149a6 Bug 1416788 - limit number of visits we pass to PlacesUtils.history.insertMany to prevent shutdown hangs. r=kitcambridge
MozReview-Commit-ID: AU9AMUAD1Rw

--HG--
extra : rebase_source : 205ec0f17f94bd399f4663e552bd75e7b63f7da5
2017-11-23 16:18:55 +11:00
Thom Chiovoloni dc2fe37c66 Bug 1421452 - Fix deprecation warning in test_bookmark_engine by passing an osfile path instead of nsifile. r=markh
MozReview-Commit-ID: 4XrzA0kUXzE

--HG--
extra : rebase_source : bed7a594b854969dd1932449f43ade4dc068ffeb
2017-11-28 17:35:51 -05:00
Thom Chiovoloni a004052a6e Bug 1421044 - Make TPS await sync initialization before trying to run r=markh
MozReview-Commit-ID: JSBXKHRXjc0

--HG--
extra : rebase_source : f18047d5a71d92acb9712244266909fc9e09dd0f
2017-11-28 13:56:48 -05:00
Thom Chiovoloni 6e7fbdc912 Bug 1420349 - Instantiate the sync scheduler in the service's constructor, instead of in onStartup. r=eoger
MozReview-Commit-ID: 3bOnRH5jR9e

--HG--
extra : rebase_source : 63eb169666e6b5694e7324f5eb01349189a895ec
2017-11-28 11:48:10 -05:00
Ryan Leake 7822b14bda Bug 1346072 - Remove accounts.firefox.com from the whitelist of domains allowed to send objects over webchannels. r=markh
MozReview-Commit-ID: 4ts3uBPuXom

--HG--
extra : rebase_source : 0dced36f4c14f8fb4f7633f3b265ac22d95ecfd7
2017-11-24 20:24:42 +00:00
Mark Banner efaca11893 Bug 1420422 - Enable ESLint rule mozilla/use-services for services/. r=markh
MozReview-Commit-ID: LQiMr3ppDuG

--HG--
extra : rebase_source : f509b5360e92db58f14b0f6a41c06e10fe7dd170
2017-11-24 14:46:33 +00:00
Edouard Oger 9f071e2083 Bug 1409534 - Replace Resource impl by fetch. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: 5mmVeHeMQKf

--HG--
extra : rebase_source : 84c20e3b90b5bed43e511158270761e2e1da6b15
2017-11-06 16:24:40 -05:00
Edouard Oger 438ca97ce7 Bug 1419990 - Only sync the tabs collection on sleep if there are changes. r=markh
MozReview-Commit-ID: GC0KMmQPqqD

--HG--
extra : rebase_source : 2039c7f644b3510dda07839c1e561786ad8c0ba1
2017-11-23 11:24:41 -05:00
Edouard Oger 0154c0f443 Bug 1416320 - Do a quick sync before going to sleep. r=markh
MozReview-Commit-ID: I36uvEFlEz5

--HG--
extra : rebase_source : 93812879d3ea19042356e51672f7f464e30e9ee5
2017-11-10 14:09:44 -05:00
Cosmin Sabou 959009f1a8 Backed out changeset 23fbfd83e957 (bug 1416320) for ESlint failure at gecko/services/sync/modules/policies.js:558:71 on a CLOSED TREE 2017-11-21 07:26:51 +02:00
Edouard Oger ab35b46c98 Bug 1416320 - Do a quick sync before going to sleep. r=markh
MozReview-Commit-ID: I36uvEFlEz5

--HG--
extra : rebase_source : 1910ac25084f6a8c37a6d21accf17da974d56493
2017-11-10 14:09:44 -05:00
Dan Banner b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Edouard Oger afa6330a25 Bug 1416322 - Wait until the network is back up to sync after waking-up from sleep. r=markh
MozReview-Commit-ID: 2vzmj3UkvtD

--HG--
extra : rebase_source : a152684365627cf1ea68efe10f5e27ad15577135
2017-11-16 13:12:31 -05:00