[Webkit-unassigned] [Bug 14186] No back entry created for window.open navigation triggered by non-user-gesture

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 15 17:02:41 PDT 2007


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





------- Comment #2 from mpComplete at gmail.com  2007-06-15 17:02 PDT -------
Created an attachment (id=15075)
 --> (http://bugs.webkit.org/attachment.cgi?id=15075&action=view)
document.location test case

This test assigns to document.location 2 seconds after loading.  No
back/forward item is created for the test page.

There is code in FrameLoader.cpp that sets the frame load type to
FrameLoadTypeInternal if the load was not a userGesture.  This load type
doesn't add to the BF list.  The load type seems to have originally been meant
for subframe loads, and was overloaded for this purpose as well.  Maybe the
solution is to create a new load type?  Some non-userGesture loads should add
to the BF list, some shouldn't.


-- 
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