Closed
Bug 1508973
Opened 6 years ago
Closed 5 years ago
Remove getAnnotationsForItem and unused APIs
Categories
(Toolkit :: Places, task, P2)
Toolkit
Places
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
Details
(Whiteboard: [fxsearch])
Attachments
(1 file)
getAnnotationsForItem is used when copying around nodes, to copy over annotations too. We don't have anymore any item annotation that is worth copying (the only remaining one is for Sync orphans). Then the following APIs can be removed, afaict: getItemAnnotationNames, getItemAnnotationInfo
Comment 1•6 years ago
|
||
The slight twist here, is that we'll probably need to re-implement annotation extraction for bookmarks export. This will be in BookmarkHTMLUtils.jsm/BookmarkJSONUtils.jsm. This could probably be based on the existing sql but made to be async.
I think there's tests that cover this - they should fail when the code surrounding getAnnotationsForItem is removed.
Assignee | ||
Updated•5 years ago
|
Iteration: --- → 69.3 - Jun 10 - 23
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Assignee | ||
Updated•5 years ago
|
Points: --- → 2
Assignee | ||
Updated•5 years ago
|
Type: enhancement → task
Assignee | ||
Comment 2•5 years ago
|
||
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/fe6afadb2f6a Remove getAnnotationsForItem and unused bookmark annotations APIs. r=Standard8,lina
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in
before you can comment on or make changes to this bug.
Description
•