Closed
Bug 763139
Opened 12 years ago
Closed 12 years ago
LivemarkService.createLivemark is reported as deprecated but not marked as deprecated.
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: cfinke, Assigned: cfinke)
Details
Attachments
(1 file, 1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0 Build ID: 20120601045813 Steps to reproduce: Called LivemarkService.createLivemark from add-on code (see resource:///components/nsLivemarkService.js) Actual results: An error appeared in the Error Console: Error: ark is deprecated and will be removed in a future release. Check the nsILivemarkService interface. Source File: resource:///components/nsLivemarkService.js Line: 204 Expected results: The function definition for createLivemark should read: createLivemark: function DEPRECATED_LS_createLivemark instead of createLivemark: function LS_createLivemark so that the slice(14) in _reportDeprecatedMethod doesn't chop off the majority of the function name and so the error appears properly, like so: Error: createLivemark is deprecated and will be removed in a future release. Check the nsILivemarkService interface. Source File: resource:///components/nsLivemarkService.js Line: 204
Comment 1•12 years ago
|
||
Do you have the possibility/time to attach a patch for this?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment on attachment 633008 [details] [diff] [review] Adds the "DEPRECATED_" prefix to the LS_createLivemark function name Review of attachment 633008 [details] [diff] [review]: ----------------------------------------------------------------- Could you please follow the hints here, especially setting the user and the commit message: https://developer.mozilla.org/en/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F then you can just attach the updated patch and add the checkin-needed keyword Thank you! ::: toolkit/components/places/nsLivemarkService.js @@ +252,1 @@ > aFeedURI, aIndex) the arguments should be reindented here, respecting the 80 chars limit, so createLivemark: function DEPRECATED_LS_createLivemark(aParentId, aTitle, aSiteURI, aFeedURI, aIndex)
Attachment #633008 -
Flags: review+
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #633008 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
The updated patch was busted. Fixed up and pushed. https://hg.mozilla.org/integration/mozilla-inbound/rev/f68238e9c432
Assignee: nobody → cfinke
Flags: in-testsuite-
Keywords: checkin-needed
Target Milestone: --- → mozilla16
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f68238e9c432
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•