Closed
Bug 675299
Opened 13 years ago
Closed 5 years ago
Preliminary implementation of favicon sync
Categories
(Firefox :: Sync, enhancement)
Firefox
Sync
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: rnewman, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [sync:bookmarks])
Attachments
(2 files, 6 obsolete files)
This is the work-item bug for implementing the Sync side of favicon sync. The Places part is Bug 674238, but isn't strictly necessary for this.
This whole engine will eventually be rewritten for async repositories, and will see various iterations upon the evolving favicons layer.
Starting a fresh bug to avoid all the built-up crap in Bug 428378.
Reporter | ||
Comment 1•13 years ago
|
||
WIP.
Reporter | ||
Comment 2•13 years ago
|
||
No GUIDs yet, so this is actually storing favicon URIs in each PlacesItem record. Lots to do, of course.
Reporter | ||
Comment 3•13 years ago
|
||
Some tests, much of the implementation of Store and Engine, lots of SQL :D
Reporter | ||
Updated•13 years ago
|
Reporter | ||
Comment 4•13 years ago
|
||
Attachment #549451 -
Attachment is obsolete: true
Reporter | ||
Comment 5•13 years ago
|
||
Reporter | ||
Comment 6•13 years ago
|
||
Reporter | ||
Comment 7•13 years ago
|
||
Attachment #549452 -
Attachment is obsolete: true
Reporter | ||
Comment 8•13 years ago
|
||
Attachment #550582 -
Attachment is obsolete: true
Comment 9•13 years ago
|
||
Comment on attachment 553377 [details] [diff] [review]
Part 0b: add missing 'let' in service.js.
`for each` is an oddball. It doesn't take let or var. See https://developer.mozilla.org/en/JavaScript/Reference/Statements/for_each...in
Attachment #553377 -
Flags: review-
Comment 10•13 years ago
|
||
Comment on attachment 553377 [details] [diff] [review]
Part 0b: add missing 'let' in service.js.
Never mind, I didn't read all of the spec. Interesting that var/let is now required in strict mode!
Please file separate bug for these, though. This shouldn't clutter up this bug.
Attachment #553377 -
Flags: review-
Reporter | ||
Updated•13 years ago
|
Attachment #553376 -
Attachment is obsolete: true
Reporter | ||
Updated•13 years ago
|
Attachment #553377 -
Attachment is obsolete: true
Reporter | ||
Comment 11•13 years ago
|
||
Comment on attachment 553378 [details] [diff] [review]
Part 0c: bookmarks engine cleanup.
Moved all these "part 0"s to Bug 679279.
Attachment #553378 -
Attachment is obsolete: true
Comment 12•13 years ago
|
||
Should strict mode be enabled for all new files?
Reporter | ||
Comment 13•13 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #12)
> Should strict mode be enabled for all new files?
Yes, and I will do that for favicons. Filing another bug for strict mode in general…
Comment 14•13 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #12)
> Should strict mode be enabled for all new files?
Just talked this through with rnewman. Yes, all new code should use strict mode. Good catch, Greg.
Reporter | ||
Comment 15•13 years ago
|
||
> Filing another bug for strict mode in general…
Bug 680593.
Reporter | ||
Comment 16•12 years ago
|
||
We will probably -- I hope! -- end up using a salted hash for favicons, rather than a GUID, so the implementation will change.
Assignee: rnewman → nobody
Status: ASSIGNED → NEW
Whiteboard: [sync:bookmarks]
Assignee | ||
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
Updated•5 years ago
|
Type: defect → enhancement
Comment 17•5 years ago
|
||
Closing as inactive - patch is 7yrs old.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•