Closed
Bug 745410
Opened 11 years ago
Closed 6 years ago
Remove remaining microsummary and dynamic container support from bookmarks
Categories
(Firefox :: Sync, defect, P2)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: gps, Assigned: eoger, Mentored)
References
Details
(Whiteboard: [sync:bookmarks][good first bug][lang=js])
Attachments
(2 files)
I believe we're getting rid of microsummaries on bookmarks for the next engine version.
Updated•11 years ago
|
Whiteboard: [sync:bookmarks]
Comment 1•9 years ago
|
||
It's probably worth reviewing https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsINavBookmarksService and looking for more obsolete features!
Updated•9 years ago
|
Mentor: rnewman
Whiteboard: [sync:bookmarks][good first bug][lang=js][mentor=rnewman] → [sync:bookmarks][good first bug][lang=js]
Hi, I would like to work on this bug. Can you please suggest how should I go about it? Thanks in advance shreyas
Flags: needinfo?(rnewman)
Comment 3•9 years ago
|
||
Take a look at https://developer.mozilla.org/en-US/docs/Developer_Guide/Build_Instructions#Getting_started to get a working Firefox build. Once you're done with that, take a look at services/sync/modules/engines/bookmarks.js, and familiarize yourself with the overall structure. Compare that file with the link in Comment 1. You should see that some features have been removed, and no longer need to be supported in bookmarks.js. Let me know if you need more help!
Flags: needinfo?(rnewman)
So Basically what I need to do is to look for the methods and features marked obsolete in https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsINavBookmarksService and remove/replace them in bookmarks.js right?
Flags: needinfo?(rnewman)
I compared the link and the file. I couldn't find any uses of deprecated methods from that interface present in bookmarks.js.
Flags: needinfo?(rnewman)
Comment 8•8 years ago
|
||
Not just methods; also 'things' -- like microsummaries.
Flags: needinfo?(rnewman)
Is it correct?
Attachment #8565498 -
Flags: review?
Attachment #8565498 -
Flags: feedback?(rnewman)
Comment 10•8 years ago
|
||
Comment on attachment 8565498 [details] [diff] [review] bug_745410.diff This looks fine to me. I don't think it can land until we remove Sync 1.1 support. Here's why: * Most microsummary support was removed in Bug 524091. What's left here allows microsummary records to fall back to being ordinary bookmarks when Sync applies them. * Sync 1.5 clients are guaranteed not to have uploaded any microsummary records to Sync 1.5 servers. * Technically, Sync 1.1 servers can still contain microsummary records. We shouldn't drop those on the floor when a client downloads them. Rather than adding logic here to change things for 1.5 only, let's just leave this here. N.B., we also need to make sure the docs are up to date: http://docs.services.mozilla.com/sync/objectformats.html So let's leave this patch on the bug, and we can apply it a few months from now. Sound good?
Attachment #8565498 -
Flags: review?
Attachment #8565498 -
Flags: feedback?(rnewman)
Attachment #8565498 -
Flags: feedback+
Comment 11•8 years ago
|
||
Ok, no problem.
Comment 12•8 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #10) > Comment on attachment 8565498 [details] [diff] [review] > bug_745410.diff > > This looks fine to me. I don't think it can land until we remove Sync 1.1 > support. Here's why: > > * Most microsummary support was removed in Bug 524091. What's left here > allows microsummary records to fall back to being ordinary bookmarks when > Sync applies them. > > * Sync 1.5 clients are guaranteed not to have uploaded any microsummary > records to Sync 1.5 servers. > > * Technically, Sync 1.1 servers can still contain microsummary records. We > shouldn't drop those on the floor when a client downloads them. > > Rather than adding logic here to change things for 1.5 only, let's just > leave this here. > > N.B., we also need to make sure the docs are up to date: > > http://docs.services.mozilla.com/sync/objectformats.html > > > So let's leave this patch on the bug, and we can apply it a few months from > now. Sound good? Is this bug still there? Its been a long time.
Comment 13•8 years ago
|
||
1.1 support hasn't been removed yet. But soon.
Assignee | ||
Comment 14•6 years ago
|
||
Should we get back to this now?
Comment 15•6 years ago
|
||
(In reply to Edouard Oger [:eoger] from comment #14) > Should we get back to this now? Yeah, I think we should - we've effectively killed 1.1 support in 54.
Assignee | ||
Comment 16•6 years ago
|
||
I don't think anyone is gonna take this bug since it's 2 years old
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → eoger
Status: NEW → ASSIGNED
Priority: -- → P2
Comment hidden (mozreview-request) |
Comment 18•6 years ago
|
||
mozreview-review |
Comment on attachment 8846091 [details] Bug 745410 - Remove microsummary support from Sync. https://reviewboard.mozilla.org/r/119172/#review121156 Nice!
Attachment #8846091 -
Flags: review?(kit) → review+
Comment 19•6 years ago
|
||
Pushed by eoger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9c8eac7852f6 Remove microsummary support from Sync. r=kitcambridge
I had to back this out for build failures like https://treeherder.mozilla.org/logviewer.html#?job_id=83120084&repo=autoland https://hg.mozilla.org/integration/autoland/rev/76d437394bf331626b9be6b2dcad8a6fec61979a
Flags: needinfo?(eoger)
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(eoger)
Comment hidden (mozreview-request) |
Comment 22•6 years ago
|
||
Pushed by eoger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b53ca1627c0 Remove microsummary support from Sync. r=kitcambridge
Comment 23•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7b53ca1627c0
Updated•5 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•