Closed
Bug 322552
Opened 19 years ago
Closed 19 years ago
Back button behaves differently from javascript:history.go(-1) or history.back()
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 294775
People
(Reporter: ben.bolscher, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8) Gecko/20051111 Firefox/1.5
When you use history.go(-1) or history.back() in javascript it appears that also the action page of a form is put in the history stack. A button with a history.back() action in a page after a form submit action, will try to resend the page. The Back button on the browser (correctly) shows the previous page with the form.
This is different from the behavior in MS IE.
Reproducible: Always
Steps to Reproduce:
1.Make a form with an accept page in the action
2.Show a page with a button with the history.back() action as the next page
3.See the difference between this button and the Back button of the browser
Actual Results:
The history.back() action does not display the previous page, but the browser back button does
Expected Results:
Same behavior of history.back() action and browser back button. That is the previous page should be displayed.
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 294775 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: History → Bookmarks & History
QA Contact: history → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•