More bookmarks than expected reported in FHR?

Richard Newman rnewman at mozilla.com
Tue Jan 6 11:30:32 PST 2015


In a brand new profile:

---
Cu.import("resource://gre/modules/PlacesDBUtils.jsm")
PlacesDBUtils.telemetry(null, (data) => console.log(JSON.stringify(data)))

"{"PLACES_PAGES_COUNT":11,"PLACES_BOOKMARKS_COUNT":8}"
---

so yes, we have eight default bookmarks. These are the four default Firefox
bookmarks, the Firefox folder, and I would guess "Bookmarks Toolbar",
"Bookmarks Menu", "Unsorted Bookmarks".

A truly empty profile — deleting the builtins — would have three.

On Tue, Jan 6, 2015 at 10:26 AM, Gregory Szorc <gps at mozilla.com> wrote:

> mak (CCd) can answer our Places questions.
> rnewman also knows a bit about this from his Sync work. (I should know
> this too, but I never ventured too deep into the Places rabbit hole.)
>
>
> On 1/6/15 10:24 AM, Georg Fritzsche wrote:
>
>> I don’t know really about the places DB, but org.mozilla.places.places.bookmarks
>> is reporting PLACES_BOOKMARKS_COUNT from PlacesDBUtils.telemetry():
>> https://hg.mozilla.org/mozilla-central/annotate/2a193b7f395c/services/
>> healthreport/providers.jsm#l1441
>> https://hg.mozilla.org/mozilla-central/annotate/2a193b7f395c/toolkit/
>> components/places/PlacesDBUtils.jsm#l882
>>
>> Georg
>>
>> On 06 Jan 2015, at 19:17, Cheng Wang <cww at mozilla.com> wrote:
>>
>>  Are you countingautofolders (which look like folders but I think are set
>>> in the places DB like bookmarks)?
>>>
>>> Most visited, Recently bookmarked, recent tags would account for the 3
>>> you're undercounting.
>>>
>>> I would bet that a common addonor historical default bookmark or partner
>>> repack or something like that accounts for the next bump to 15ish.
>>>
>>> Brendan Colloran wrote:
>>>
>>>> Hey folks, Irina (cc'ed) has been looking at bookmark usage in FHR,
>>>> and we're a bit surprised by what we're seeing-- 99% of profiles have
>>>> 8 or more bookmarks, with the median number being about 19 bookmarks
>>>> (see plots attached). This seems too high given the assumption that at
>>>> installation time there should be only 5 bookmarks installed. We're
>>>> wondering if there is a bug somewhere that could be causing
>>>> over-reporting, if there might be something like other entries
>>>> recorded in the places database at profile creation time that would be
>>>> reported as bookmarks, or if anyone knows of some othre explanation
>>>> for the surprisingly high bookmark use and in particular the
>>>> surprisingly high apparent number of pre-installed bookmarks.
>>>>
>>>> Let me know if you have any questions, and thanks for your help.
>>>>
>>>> -Brendan (and Irina)
>>>>
>>>>
>>>> _______________________________________________
>>>> fhr-dev mailing list
>>>> fhr-dev at mozilla.org
>>>> https://mail.mozilla.org/listinfo/fhr-dev
>>>>
>>>
>>> _______________________________________________
>>> fhr-dev mailing list
>>> fhr-dev at mozilla.org
>>> https://mail.mozilla.org/listinfo/fhr-dev
>>>
>>
>> _______________________________________________
>> fhr-dev mailing list
>> fhr-dev at mozilla.org
>> https://mail.mozilla.org/listinfo/fhr-dev
>>
>>
> _______________________________________________
> fhr-dev mailing list
> fhr-dev at mozilla.org
> https://mail.mozilla.org/listinfo/fhr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/fhr-dev/attachments/20150106/58acbce4/attachment.html>


More information about the fhr-dev mailing list