promisefeni / reallysimplehistory

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

Safari 3/Mac (and probably other versions): History stack gets lost when user hits reload #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you reload your browser window in Safari 3/Mac, your history stack gets
lost. You still have entries in your browser history stack, but all of the
data within all of the hidden form fields disappears.

Not sure if this could be alleviated by targeting all of the Safari
2-related stuff just to Safari 2 and using the same methods as
Firefox/Opera for Safari 3. Also need to test whether this affects Safari 2
and Safari/Windows. This could just be an issue where Safari reloads
prevent the auto-caching of form data. If so, perhaps going back to native
DOM methods might help?

Surprising that nobody - including me - noticed this before.

This is incidental to the bug, but getSafariState should probably check to
make sure there's an object to parse before calling parseJSON..... In these
cases of a reload, where the form field has no values, tons of errors get
thrown by parseJSON as it tries to parse nonexistent data.

Original issue reported on code.google.com by bdpathfi...@gmail.com on 11 Dec 2007 at 9:49

GoogleCodeExporter commented 8 years ago
Today, Im facing this problem, where safari (in windows) says: "Maximum call 
stack
size exceeded."

Any idea?

Original comment by rakesh.s...@gmail.com on 29 Apr 2008 at 11:45