Closed
Bug 1473382
Opened 6 years ago
Closed 6 years ago
Ensure the mirror correctly fires change notifications for livemark annos
Categories
(Firefox :: Sync, enhancement)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
We're slowly removing annotations, but, in the meantime, errors like this (seen in the logs in bug 1472963) only add noise: > 1529394434486 Sync.Engine.Bookmarks.Mirror WARN Error notifying observer: [Exception... "Not enough arguments [nsIAnnotationObserver.onItemAnnotationSet]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: resource://gre/modules/SyncedBookmarksMirror.jsm :: notifyObserver :: line 4659" data: no] Stack trace: notifyObserver()@resource://gre/modules/SyncedBookmarksMirror.jsm:4659 This also means we don't have test coverage for `onItemAnnotation{Set, Removed}` observers. :-)
Assignee | ||
Comment 1•6 years ago
|
||
Turns out we don't fire `onItemChanged` notifications for annos, either. Oops. >.< We're slowly removing annos from Places, anyway, but livemarks still use them, so the mirror should try to do the right thing for now.
Summary: Bookmarks mirror should pass `aDontUpdateLastModified` to annotation observers → Ensure the mirror correctly fires change notifications for livemark annos
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b94e3c6b434faa7850ec85b5f596104fd77876f3
Comment 4•6 years ago
|
||
Comment on attachment 8989889 [details] Ensure the bookmarks mirror fires item change observer notifications for livemark annos. Marco Bonardo [::mak] has approved the revision. https://phabricator.services.mozilla.com/D1962
Attachment #8989889 -
Flags: review+
Assignee | ||
Comment 5•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a740e95668cf0ebee033d4832fb03ed328fc28e5
Pushed by kcambridge@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b75dda634bc Ensure the bookmarks mirror fires item change observer notifications for livemark annos. r=mak
Backout by aiakab@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9c8e9cc23b1d Backed out changeset 4b75dda634bc for presumed ES lint failures on request of lin
Pushed by kcambridge@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d206108bb4c Ensure the bookmarks mirror fires item change observer notifications for livemark annos. r=mak
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9d206108bb4c
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in
before you can comment on or make changes to this bug.
Description
•