Closed Bug 160869 Opened 23 years ago Closed 22 years ago

Opening link to already open frameset hoses history

Categories

(Core :: DOM: Navigation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.2beta

People

(Reporter: mozilla, Assigned: radha)

References

()

Details

Attachments

(1 file)

2002080304 trunk Opening a link to a frameset that is already open will completely hose the frameset history. STEPS TO REPRODUCE: 1) Open http://www.landlminiatures.com 2) Compose an email to yourself with a link to http://www.landlminiatures.com in it (so you have something to click). Use File -> Save or Send Later to save it. 3) While the URL from Step 1 is open, go to your saved message and click on the link. 4) Now click around in the site and use back and forward buttons. RESULTS: It appears that all history entries are replaced with the frameset URL instead of the individual pages in the frameset. Back and forward buttons just load the parent frameset no matter what should be in the history. If you go five links into the site and then press the back button, you are taken to the parent frameset - click four more times for each history entry and each time the parent frameset is loaded again. Now try the forward button...same thing.
I should note that this only happens when the link is loaded into the SAME window that already has the frameset open. If the link opens in a new window or tab, this bug will not be seen.
Blocks: 59387
*** Bug 160933 has been marked as a duplicate of this bug. ***
This is broken only in the trunk. The branch is behaving fine.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
You don't have to click twice on the home page to reproduce this. Just visit the site, click on food, accessories, furniture, go somewhere else and click back. You will return to the main home page and not to the subframe you were in.
*** Bug 160933 has been marked as a duplicate of this bug. ***
*** Bug 153240 has been marked as a duplicate of this bug. ***
patch to bug 144301 contributed to this. Although that bug took care of shift-reload problems, it has broken the situation when the user presses enter again in the urlbar.
Re: Comment #4: I don't see that problem here in Windows XP with 2002080408 trunk
WFM, latest build 2002080708 on WinME.
CT: note that this bug isn't present on the branch, only on the trunk. Which build do you have?
i have build 2002072104 on win98 the bug is there with back/refresh
The files from latest and latest-trunk were the same size, so I assume it's the trunk. How can I tell without remembering where I got the installer? I'm currently using Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.1b) Gecko/20020807 from http://ftp.mozilla.org/pub/mozilla/nightly/latest-trunk/ and both navigating around http://www.landlminiatures.com and bug 153240 comment 7 WFM. The back/forward buttons don't activate at all on http://www.tlc.de though, my mistake.
Take care of specific loadTypes instead of letting all subframes inherit parent's loadType.
Comment on attachment 95649 [details] [diff] [review] patch to docshell r=adamlock
Attachment #95649 - Flags: review+
Attachment #95649 - Flags: superreview+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: