Closed Bug 47148 Opened 26 years ago Closed 26 years ago

Back Button/History screwy on targets/anchors

Categories

(Core :: DOM: Navigation, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: alan-lists, Assigned: radha)

References

()

Details

(Whiteboard: [nsbeta3+] fix in hand.ETA 8/18)

Using 7-29-00 win95 build Asa saw on 7-31-00 I wrote this page up to demo a diffent target/anchor bug http://users.ipa.net/~asj/moz3.html I found that if you click on one of the number links and jump down then hit back button to go to the top. Then hit another one of the number links an hit back you skip back to a previous page instead of the top of http://users.ipa.net/~asj/moz3.html In one case i might have had to do the link, back, different link, back different link, back several times. Some how it seems like History is missing something or not keeping something right.
Status: NEW → ASSIGNED
Summary: Back Button/History screwy on targets/anchors → Back Button/History screwy on targets/anchors
Target Milestone: --- → M20
dup of 44114?
I am not really sure this is a dupe of bug 44114 I almost marked it as a dupe, but i am not seeing the relaod issue of 44114 in my test page and 44114's problem is "Linking to an anchor in a different document". This is is on the same page. It could be related, in the actual code, but not the same problem from users side :) I will let another expert decide.....
I just hit this bug and was about to sumbit it (exact same one). The site I was using was http://www.acm.org/technews/current/homepage.html Totally repeatable. More than a bit confusing/annoying, and something that people will hit regularily. I'd bump it up in the priority list because of how easy it is to hit with common browsing.
here's the testcase for linking to an anchor in the same document: http://mozilla.org/quality/browser/front-end/testcases/history/anchor-history.html let's leave them separate for now and see what happens when one is fixed. submitting for nsbeta3 in a vain hope that we would like SH(back/forward) to work with anchors in a page, instead of ignoring them.
really submitting
Keywords: nsbeta3
nav triage team: gotta get that session history stuff nailed down
Whiteboard: [nsbeta3+]
This is because LSHE doesn't get cleared in OnEndDocumentLoad for anchor pages. Setting LSHE = nsnull after calling OnNewUri() for anchor pages fixes this bug. Shall get review for patch after rick arrives
Whiteboard: [nsbeta3+] → [nsbeta3+] fix in hand
Whiteboard: [nsbeta3+] fix in hand → [nsbeta3+] fix in hand. Need review from rpotts
Priority: P3 → P2
Whiteboard: [nsbeta3+] fix in hand. Need review from rpotts → [nsbeta3+] fix in hand.ETA 8/18
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
VERIFIED Fixed with 2000082308 builds
Status: RESOLVED → VERIFIED
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.