Open Bug 1671353 Opened 4 years ago Updated 1 year ago

Provide a convenience API to obtain all (direct) children and/or a child element count for a given bookmarks folder

Categories

(Toolkit :: Places, task, P3)

task

Tracking

()

Tracking Status
firefox83 --- affected

People

(Reporter: Gijs, Unassigned)

References

(Depends on 1 open bug)

Details

In Bookmarks.jsm, fetchTree is unimplemented, and neither is there a promise-ified API to get direct children (though you can use fetch with just a parentGuid param, and an onResult callback to get all the results rather than just the first). In some cases, we actually only care about the number of children (ie COUNT(...) in sql terms), and there isn't an API for that, either

Depends on: 1081106
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.