Closed
Bug 367799
Opened 18 years ago
Closed 17 years ago
nsNavHistory duplicates "effective TLD" functionality
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
Firefox 3 beta4
People
(Reporter: hello, Assigned: dwitte)
References
()
Details
Attachments
(2 files)
(deleted),
patch
|
hello
:
review+
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
nsNavHistory.cpp has some functions for finding out the effective TLD of a URL (see GetTLDType and friends). This is now available as a service, and we should switch to using that instead.
We might want to use the helpers proposed in bug #367446 if/when they go in.
Reporter | ||
Comment 1•17 years ago
|
||
I'm not likely to be able to work on these bugs anytime soon.
Assignee: thunder → nobody
Assignee | ||
Comment 2•17 years ago
|
||
-> me. always nice to see more etld consumers!
Assignee: nobody → dwitte
OS: Mac OS X → All
Hardware: PC → All
Target Milestone: --- → Firefox 3 M10
Assignee | ||
Comment 3•17 years ago
|
||
Assignee | ||
Comment 4•17 years ago
|
||
switches over to the etldservice and removes unnecessary code. (note that this patch depends on bug 402008 and bug 402013, which affect the normalization semantics here.)
dan, would you mind reviewing this? (if not, do you know who'd be appropriate?) thanks!
Attachment #287814 -
Flags: review?(thunder)
Assignee | ||
Updated•17 years ago
|
Assignee | ||
Comment 5•17 years ago
|
||
this is ready to land once it gets review (the two bugs that block this have been fixed).
Updated•17 years ago
|
Target Milestone: Firefox 3 M10 → Firefox 3 M11
Reporter | ||
Comment 6•17 years ago
|
||
Comment on attachment 287814 [details] [diff] [review]
patch v1
Looks OK, and tested by hacking my build to GROUP_BY_DOMAIN in the sidebar. It is hot.
Attachment #287814 -
Flags: review?(thunder) → review+
Reporter | ||
Comment 7•17 years ago
|
||
Dietrich, is a second r+ needed?
You might want to take a look anyway, it's been a few months since I've really been in nsNavHistory.cpp.
Comment 8•17 years ago
|
||
Comment on attachment 287814 [details] [diff] [review]
patch v1
a=mconnor on behalf of drivers. yay for no more duplication
Attachment #287814 -
Flags: approval1.9+
Comment 9•17 years ago
|
||
dwitte - plan on landing this when the tree opens?
Target Milestone: Firefox 3 beta3 → Firefox 3 beta4
Assignee | ||
Comment 10•17 years ago
|
||
yep, for b4
Reporter | ||
Comment 11•17 years ago
|
||
FWIW, I've been using this patch + a patch to enable GROUP_BY_DOMAIN in the sidebar in my personal builds. It's very nice.
Assignee | ||
Comment 12•17 years ago
|
||
sdwilsh, dietrich - it looks like the GROUP_BY_DOMAIN functionality has been sitting around, but isn't used anywhere by default yet (comment 11) - is this something we want to enable for firefox 3? it sounds pretty cool.
Assignee | ||
Comment 13•17 years ago
|
||
Assignee | ||
Comment 14•17 years ago
|
||
checked in, with above tweak to init the eTLD and IDN services lazily, and thus avoid Ts penalty. (since this feature isn't even really used, yet...)
fixed!
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 15•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•