Closed
Bug 854288
Opened 12 years ago
Closed 12 years ago
Remove PlaceUtils.restoreBookmarksFromJSONFile in PlacesUtils.jsm
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: raymondlee, Assigned: andreshm)
References
Details
Attachments
(1 file, 4 obsolete files)
9.26 KB,
patch
|
Details | Diff | Splinter Review |
Remove PlaceUtils.restoreBookmarksFromJSONFile and Places.restoreBookmarksFromJSONString after bug 852034 and bug 852040 have landed.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → andres
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #729412 -
Attachment is obsolete: true
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #729415 -
Attachment is obsolete: true
Attachment #730864 -
Flags: review?(mak77)
Reporter | ||
Comment 4•12 years ago
|
||
Some add-ons are using the PlacesUtils.restoreBookmarksFromJSONFile so only one of them is being maintained. We should contact the author about the changes.
https://addons.mozilla.org/en-US/firefox/addon/febe/?src=search
Reporter | ||
Comment 5•12 years ago
|
||
(In reply to Raymond Lee [:raymondlee] from comment #4)
> Some add-ons are using the PlacesUtils.restoreBookmarksFromJSONFile so only
> one of them is being maintained. We should contact the author about the
> changes.
>
https://addons.mozilla.org/en-US/firefox/addon/febe/?src=search
/2109/chrome/content/febe.js
line 2674 -- PlacesUtils.restoreBookmarksFromJSONFile(dFile);
line 2692 -- PlacesUtils.restoreBookmarksFromJSONFile(dFile);
https://addons.mozilla.org/en-US/firefox/addon/library-in-sidebar/?src=search
/7387/chrome/content/places.js
line 509 -- PlacesUtils.restoreBookmarksFromJSONFile(aFile);
https://addons.mozilla.org/en-US/thunderbird/addon/wat-webapplicationtab/?src=search
/55713/chrome/content/places/places.js
line 488 -- PlacesUtils.restoreBookmarksFromJSONFile(aFile);
https://addons.mozilla.org/en-US/firefox/addon/febe-mod/?src=search
/320100/chrome/content/febe.js
line 1927 -- PlacesUtils.restoreBookmarksFromJSONFile(dFile);
line 1945 -- PlacesUtils.restoreBookmarksFromJSONFile(dFile);
Comment 6•12 years ago
|
||
Removing restoreBookmarksFromJSONString is fine since there is no consumers.
For restoreBookmarksFromJSONFile I'd say for now we may just forward the call internally to the new API with a Deprecated.warning message (similar to the others we have in PlacesUtils iirc).
Comment 7•12 years ago
|
||
Comment on attachment 730864 [details] [diff] [review]
Patch v3
please ping mano for the dependency review, let me know if that delays too much.
Clearing per previous comment, please address it, regardless we can't take this until dependencies are done.
Attachment #730864 -
Flags: review?(mak77)
Reporter | ||
Comment 8•12 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #6)
> Removing restoreBookmarksFromJSONString is fine since there is no consumers.
>
> For restoreBookmarksFromJSONFile I'd say for now we may just forward the
> call internally to the new API with a Deprecated.warning message (similar to
> the others we have in PlacesUtils iirc).
OK, done.
Attachment #730864 -
Attachment is obsolete: true
Attachment #734401 -
Flags: review?(mak77)
Reporter | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Updated•12 years ago
|
Attachment #734401 -
Flags: review?(mak77) → review+
Assignee | ||
Comment 9•12 years ago
|
||
Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=fcbecda98fb2
Status: ASSIGNED → NEW
Comment 11•12 years ago
|
||
Keywords: checkin-needed
Comment 12•12 years ago
|
||
Unfortunately, that Try run of yours didn't test xpcshell. Backed out for failures.
https://hg.mozilla.org/integration/mozilla-inbound/rev/2e36cebdefe7
https://tbpl.mozilla.org/php/getParsedLog.php?id=21645052&tree=Mozilla-Inbound
Reporter | ||
Comment 13•12 years ago
|
||
I think this patch would require the patch for bug 852034 to land first.
Comment 14•12 years ago
|
||
Reporter | ||
Comment 15•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #14)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/138ea79ea71a
>
> We'll see :)
I ran some tests and I can confirm that we need the patch for bug 852034 before applying this :)
Reporter | ||
Comment 16•12 years ago
|
||
Pushed to try and waiting for results
https://tbpl.mozilla.org/?tree=Try&rev=9cd97a5560e8
Reporter | ||
Updated•12 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 17•12 years ago
|
||
Attachment #734401 -
Attachment is obsolete: true
Comment 18•12 years ago
|
||
Keywords: checkin-needed
Comment 19•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•