Closed
Bug 236394
Opened 21 years ago
Closed 21 years ago
Links opened in new tabs are not added to History
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: u60234, Assigned: bugzilla)
Details
(Keywords: dataloss, regression)
Attachments
(1 file)
|
700 bytes,
patch
|
bugs
:
review+
|
Details | Diff | Splinter Review |
A link opened in a new tab or window does not get added to History. That link is
then also blocked from being added when opened in a current tab.
Steps to reproduce:
1. Open the History sidebar and make sure you can see any new entries that are
added, i.e. open the "Today" group if you sort by date.
2. Open a page that have multiple links on it, for example a Bugzilla search
result page, or this page.
3. Open one of the links not previously visited in a new tab or window.
Result:
The new page is not added to History, and is also stopped from being added at a
later date, new tab or not.
This is a regression between the 2004-02-16 and 2004-02-17 builds.
Updated•21 years ago
|
Keywords: regression
Comment 1•21 years ago
|
||
Blake fixed bug 234136 (links opened in new tabs aren't marked as visited) on
Feb 16, so he might have caused this regression.
Comment 2•21 years ago
|
||
This regressed between 2004-02-16-08 and 2004-02-17-08, so the window fits with
that checkin.
Comment 3•21 years ago
|
||
I think the problem is that the entry is getting set to hidden, because it hits
this logic in nsGlobalHistory::AddPageToDatabase:
if (isJavascript || aRedirect || !aTopLevel) {
// if this is a JS url, or a redirected URI or in a frame, hide it in
// global history so that it doesn't show up in the autocomplete
// dropdown. AddExistingPageToDatabase has logic to override this
// behavior for URIs which were typed. See bug 197127 and bug 161531
// for details.
rv = SetRowValue(row, kToken_HiddenColumn, 1);
We pass aTopLevel == false for adding URIs opened in new tabs. Should we be
passing true?
Comment 4•21 years ago
|
||
Yes, we should be setting aToplevel for new tabs (aToplevel == false is for
sub-frames, which doesn't apply here). Does this bug exist in seamonkey also?
Comment 5•21 years ago
|
||
I couldn't find anything like this in SeaMonkey.
using build:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040303
Firefox/0.8.0+ (mmoy)
personally, i don't think bug 234136 is fixed, though i haven't had a
middle-click button until recently. smells dupe-ish.
Comment 7•21 years ago
|
||
Comment 8•21 years ago
|
||
Attachment #144532 -
Flags: review+
Comment 9•21 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Component: History → Bookmarks & History
QA Contact: mozilla → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•