Closed
Bug 968177
Opened 11 years ago
Closed 11 years ago
Speed up bookmarks.html export by using the shared backups code
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: mak, Assigned: mak)
References
Details
Attachments
(1 file, 4 obsolete files)
|
37.55 KB,
patch
|
Details | Diff | Splinter Review |
We can reuse the code I'm introducing in bug 824433 for bookmarks.html, this will have other advantages like exporting guids and tags in the html format and using OS.File, with a relatively low cost (since the shared code is already there)
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8371017 -
Attachment is obsolete: true
Attachment #8372248 -
Flags: review?(mano)
| Assignee | ||
Comment 3•11 years ago
|
||
note I verified that IE can properly import the generated file
| Assignee | ||
Comment 4•11 years ago
|
||
note to self: remember to remove pre-processing from BookmarksHTMLUtils.jsm
| Assignee | ||
Comment 5•11 years ago
|
||
removed preprocessing
Attachment #8372248 -
Attachment is obsolete: true
Attachment #8372248 -
Flags: review?(mano)
Attachment #8373347 -
Flags: review?(mano)
Comment 6•11 years ago
|
||
Comment on attachment 8373347 [details] [diff] [review]
patch v1.1
Review of attachment 8373347 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good.
::: toolkit/components/places/BookmarkHTMLUtils.jsm
@@ +115,5 @@
> +
> +/**
> + * Gets [faviconURI, dataLen, data, mimeType] for a given page url.
> + */
> +function promiseFaviconData(aPageUrl) {
It's probably a good idea to have it in PlacesUtils alongside similar methods
@@ +164,5 @@
> /**
> * Saves the current bookmarks hierarchy to a "bookmarks.html" file.
> *
> + * @param aFilePath
> + * OS.File path for the "bookmarks.html" file to be created.
Since it's just a file path string, I wouldn't mention OS.File.
Attachment #8373347 -
Flags: review?(mano) → review+
| Assignee | ||
Comment 7•11 years ago
|
||
Attachment #8373347 -
Attachment is obsolete: true
| Assignee | ||
Comment 8•11 years ago
|
||
correct changes :/
Attachment #8384602 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•11 years ago
|
||
Target Milestone: --- → mozilla30
Comment 10•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•