gecko-dev/services
Kit Cambridge 932f724512 Bug 1382363 - Change most uses of `promiseDBConnection` to `withConnectionWrapper` in `PlacesSyncUtils`. r=markh
The read-only `promiseDBConnection` can return stale data if writes
are still pending. This patch changes `PlacesSyncUtils` to use the
read-write `withConnectionWrapper` instead, ensuring we fetch
up-to-date info.

I didn't change `fetchURLFrecency` and `fetchGuidsWithAnno`.
`fetchURLFrecency` is only used to set the sort index for history
records, and frecency is recalculated in the background, anyway.
`fetchGuidsWithAnno` is only used in tests.

MozReview-Commit-ID: Gq16sNm7K2e

--HG--
extra : rebase_source : e597233dae23d7582f34faeb83365896b6c22a75
2017-07-25 11:53:45 -07:00
..
blocklists Bug 1345556 - adjust BUG_COMPONENT for services/blocklist/* files. r=leplatrem 2017-03-10 12:26:58 -05:00
common Bug 1382913 - throw an error when a non existing observer is removed from observers.js. r=kitcambridge 2017-07-25 13:59:44 +10:00
crypto Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
fxaccounts Bug 1122443 - Decrease FxA email status polling frequency. r=markh 2017-07-19 16:05:34 -04:00
sync Bug 1382363 - Change most uses of `promiseDBConnection` to `withConnectionWrapper` in `PlacesSyncUtils`. r=markh 2017-07-25 11:53:45 -07:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
moz.build Bug 1361171 - Remove CloudSync. r=markh 2017-05-01 14:43:00 -07:00