[Webkit-unassigned] [Bug 13400] REGRESSION (r20809-20814): No back entry created for navigations created by assigning to document.location

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 26 12:41:31 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13400





------- Comment #20 from mpComplete at gmail.com  2007-06-26 12:41 PDT -------
Interesting.  Firefox appears to add a history item in every case EXCEPT when
document.location is directly assigned in an onload handler.  If it occurs
through a timeout or user gestures, a history item is added.  My guess is that
a direct assignment in onload is treated as a client redirect and not added to
history.

We can get close to this behavior if we just force userGesture = true here
(that is, always pass false for lockHistory and true for userGesture).  But, in
that case, we'd still add a history item for a direct assignment in onload. 
Unfortunately, if we do that, we end up failing/hitting asserts in several
layout tests.

I'll have to look at this more.


-- 
Configure bugmail: http://bugs.webkit.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