[Webkit-unassigned] [Bug 6309] Bookmarking/Back Button Support for AJAX/DHTML Applications in Safari is Impossible

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Jan 31 21:59:18 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6309


ddkilzer at kilzer.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6174|                            |review?
               Flag|                            |




------- Comment #8 from ddkilzer at kilzer.net  2006-01-31 21:59 -------
Created an attachment (id=6174)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=6174&action=view)
Patch v1 (probably not final fix)

Poking around kjs_window.cpp, I found that the change in this patch would fix
the attached test case (Attachment 6173).

The change from calling scheduleLocationChange() to changeLocation() causes the
Redirection Timer not to spin endlessly after the test case is done.

The change from "!userGesture" to "false" in the third argument causes the
history to be written for each change to the URL fragment/reference
(#locationX).

I have no idea if this is the correct fix, though, since it takes a while for
the "Back" history button to update after the test case is run, and the test
case seems to reload the entire page every time.  It seems like there is a
missing optimization where loading a URL fragment (#locationX) on the same page
shouldn't force the entire page to be reloaded.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list