Reload causes WebKit to *forget* fragment URLs See attached test case. Notice how the behavior is different when the page is first loaded (or loaded by hitting enter in the url bar, or dropping the file onto Safari) than when you hit "reload". Specifically the urls lose all of their fragments on reload!
Created attachment 16651 [details] test case This actually behaves differently than my non-reduced (multi-file) test case. I may have to re-reduce that one to something that forgets the fragments all together. This one seems to remember them (but incorrectly!?)
After further testing, this is a regression (albeit a strange one) from Safari 2.
I'm surprised that pressing Enter in address bar and actually pressing Cmd+R produces different results - I thought both were supposed to perform the same action.
<rdar://problem/5619358>
(In reply to comment #3) > I'm surprised that pressing Enter in address bar and actually pressing Cmd+R > produces different results - I thought both were supposed to perform the same > action. I don't know whether they are supposed to do the same thing, but they don't. Hitting enter in the address bar will call FrameLoader::createHistoryItem(), but reloading doesn't do the same thing.
*** This bug has been marked as a duplicate of 3580 ***