gecko-dev/mobile
Grigory Kruglov d4d7e1babe Bug 1378246 - Ensure that we correctly fire 'notifyChanged' during bookmark deletions r=jwu
This patch introduces a notion of "changed" count during bookmark deletions, and firms up
our deletion logic to ensure we're counting affected records correctly.

Changes are mostly clearer comments describing what's going on, as well tests to ensure
we're doing the right thing.

One logical change is that this patch drops an additional call to updateBookmarks. AFAIK,
that call is unnecessary. It doesn't achieve its stated goal of writing first (it performs
a select first), and since we're doing a deletion, the "bump timestamps of an old parent
in case parent changed" logic is unused).

MozReview-Commit-ID: 9B1FW9pgsf1

--HG--
extra : rebase_source : dd8f10c58fd0042f94072bb99c28dc4545165dd5
2017-07-05 18:13:28 -04:00
..
android Bug 1378246 - Ensure that we correctly fire 'notifyChanged' during bookmark deletions r=jwu 2017-07-05 18:13:28 -04:00
locales no bug - Bumping Fennec l10n changesets r=release a=l10n-bump 2017-06-06 03:00:37 -07:00