Closed
Bug 84527
Opened 23 years ago
Closed 23 years ago
history.go(-tooFar) disables session history
Categories
(Core :: DOM: Navigation, defect, P3)
Core
DOM: Navigation
Tracking
()
mozilla0.9.4
People
(Reporter: jruderman, Assigned: radha)
Details
Steps to reproduce: 1. Open a new window to your home page. 2. Click a link. 3. Type javascript:history.go(-2) into the location bar and hit enter. 4. Try to navigate using the back and forward buttons. Results: - Navigating session history using the back and forward buttons no longer works. - javascript:history.go(-1) to go back one page no longer works. Expected: history.go(-2) goes back two pages, or to the first page visited if going back two pages would be too far. (It should not throw an exception, because then the page could figure out how long your session history list is using try/catch in a loop.) This bug can be triggered accidentally if a site has a "back" link that uses history.go(-1) but the page was the first loaded in a window. I'm marking this bug as major because it allows a page to cripple a browser window and possibly cause data loss. See also bug 84519, after doing history.go(+tooFar), must press back button many times to go back.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.3
Comment 2•23 years ago
|
||
Missed the 0.9.3 train. Since the back button not working (as in, disabled) was a major pr1 complaint, though, I think we should seriously consider this for 0.9.4.
Keywords: nsCatFood
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Assignee | ||
Comment 3•23 years ago
|
||
The underlying problem is the same as in 84519 *** This bug has been marked as a duplicate of 84519 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
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.
Description
•