ruliang / reallysimplehistory

Automatically exported from code.google.com/p/reallysimplehistory
Other
0 stars 0 forks source link

Fields values shifted when input element is inserted in JavaScript (Firefox only) #96

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Firefox (tested with Firefox 6.0) 
2. Access the following test case : 
 - http://jsfiddle.net/fEjw8/19/   (to test with prototype)
 - http://jsfiddle.net/fEjw8/22/   (to test with jQuery)
It contains a form, with 2 checkboxes, and 1 textfield inserted in JavaScript 
(before the 2 checkboxes).
3. Check the *first* checkbox, then submit form
4. Go back in browser history

What is the expected output? What do you see instead?
- Expected : The first checkbox should be checked
- Actual : A shift has occured and the second checkbox is being checked instead 
of the first one.

What version of the product are you using? On what operating system?
- Firefox 6.0
- RSH trunk revision 114
- Prototype 1.7 or (jQuery1.6.2 + JSON 2007)

Please provide any additional information below.

Original issue reported on code.google.com by olivier....@gmail.com on 22 Aug 2011 at 1:34

GoogleCodeExporter commented 9 years ago
I am sorry, it appears it has nothing to do with RSH but is only a defect for 
Firefox.
I could reproduce the problem with a much more simple test which does not 
contains any code related to RSH : http://jsfiddle.net/dmXkr/

You can close the bug... I will open a bug on Firefox's issue tracker

Original comment by olivier....@gmail.com on 22 Aug 2011 at 1:57

GoogleCodeExporter commented 9 years ago
For the record, here the Firefox bug I have entered : 

Back button leads to shifted form values if input element was inserted in 
JavaScript
https://bugzilla.mozilla.org/show_bug.cgi?id=680893

Again, my apologies for the noise created by this issue.

Original comment by olivier....@gmail.com on 22 Aug 2011 at 2:21