Closed
Bug 84519
Opened 23 years ago
Closed 23 years ago
after doing history.go(+tooFar), must press back button many times to go back
Categories
(Core :: DOM: Navigation, defect, P3)
Core
DOM: Navigation
Tracking
()
VERIFIED
FIXED
mozilla0.9.4
People
(Reporter: jruderman, Assigned: radha)
References
Details
(Whiteboard: [br])
Attachments
(1 file)
2.13 KB,
patch
|
Details | Diff | Splinter Review |
Steps to reproduce: 1. Open a new browser window at your homepage. 2. Click a link. 3. javascript:history.go(5) 4. Try to go back to your homepage using the back button. Results: - Must hit back 6 times to get back to the homepage. - The drop-down under the back button doesn't work. - Lots of errors in the javascript console. Expected: hitting back once goes back to the homepage.
Reporter | ||
Comment 1•23 years ago
|
||
See also bug 84527, history.go(-tooFar) disables session history. Upgrading this bug to major because if you use a very large positive number, the result is basically the same as in bug 84527.
Severity: normal → major
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.3
Comment 3•23 years ago
|
||
Missed the 0.9.3 train.
Whiteboard: [br]
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Assignee | ||
Comment 5•23 years ago
|
||
I think that for consistency and simplicity sake, the browser should do nothing if the index that is provided by history.go() is unreachable, instead of trying to go back or forward however far it can go.
Assignee | ||
Comment 6•23 years ago
|
||
Comment 7•23 years ago
|
||
looks good. r/sr=rpotts
Comment 8•23 years ago
|
||
a=asa on behalf of drivers pending r=
Assignee | ||
Comment 10•23 years ago
|
||
Fix checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 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.
Description
•