Closed
Bug 1090205
Opened 11 years ago
Closed 11 years ago
Move getReversedHost from Bookmarks.jsm to PlacesUtils
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: ahameez, Assigned: ahameez)
Details
Attachments
(1 file, 1 obsolete file)
|
3.98 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8512678 -
Flags: review?(mak77)
| Assignee | ||
Comment 3•11 years ago
|
||
Cancelled the last try because I put in the wrong try syntax. Here is the updated try run.
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=77bedb1dda9a
Comment 4•11 years ago
|
||
Comment on attachment 8512678 [details] [diff] [review]
bug1090205_move_getReversedHost.diff
Review of attachment 8512678 [details] [diff] [review]:
-----------------------------------------------------------------
thanks! please set checkin-needed when ready.
::: toolkit/components/places/PlacesUtils.jsm
@@ +392,5 @@
> + * @param url
> + * the URL to generate a rev host for.
> + * @return the reversed host string.
> + */
> + getReversedHost: function(url) {
nit: you can use a shorthand here (part of ES6)
getReversedHost(url) {
return url.host.split("").reverse().join("") + ".";
},
or you could even do
getReversedHost(url)
url.host.split("").reverse().join("") + ".",
Attachment #8512678 -
Flags: review?(mak77) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8512678 -
Attachment is obsolete: true
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Assignee: nobody → althaf.mozilla
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•