Closed Bug 16377 Opened 25 years ago Closed 25 years ago

form data not preserved on forward

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: radha)

References

()

Details

DESCRIPTION:  Form data is preserved if you click a link on the page with the
form and then hit "Back".  However, it isn't preserved if you hit "Forward" on
the page with the form and then hit back.

STEPS TO REPRODUCE:
 1) Load http://bugzilla.mozilla.org/query.cgi
 2) Put a name in the email field
 3) click on the "mozilla.org" link near the top
 4) click "Back".  The name's still there.
[repeat (3) and (4) if desired]
 5) click "Forward"
 6) click "Back"

ACTUAL RESULTS:  The name is gone.

EXPECTED RESULTS:  It should still be there.

DOES NOT WORK CORRECTLY ON:
 * Linux, apprunner, 1999-10-13-12-M11
Assignee: karnaze → pollmann
I'll save Chris some time on this one.  I think this should go to Eric or Radha
because they worked on implementing the session history stuff.  Re-assigning
this to Eric first and ccing Radha.
Also does not work correctly on: 1999-10-12-16-M11 mozilla.exe on Windows NT
Assignee: pollmann → radha
OS: Linux → All
Hardware: PC → All
Radha, I'm betting this is yours.
When I reproduced this on yahoo.com, I got this printf:

nsLayoutHistoryState::GetState, ERROR getting History state for the key

Looking in nsLayoutHistoryState::GetState, this should only happen if the state
you fetch is null.  My guess is that it was released already?
Status: NEW → ASSIGNED
Target Milestone: M11
Blocks: 17432
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed. Please verify
Status: RESOLVED → VERIFIED
Verified in the 1999111016 M11 build under NT.
No longer blocks: 17432
You need to log in before you can comment on or make changes to this bug.