[Webkit-unassigned] [Bug 44140] No back/forward list entry added when submitting a form via an onclick handler inside a frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 28 15:31:36 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44140





--- Comment #9 from Mihai Parparita <mihaip at chromium.org>  2010-09-28 15:31:36 PST ---
(In reply to comment #8)
> What if it's a programmatic submit like below, even though it is triggered by a user gesture?
<snip>
> I would assume this should still keep isUserGesture true, thus making everything false and not locking out the history list.

Yes. That's what form-submit-in-frame-via-onclick.html in my patch tests.

> Will in this case isUserGesture be true or false?
> Technically it was triggered by a user action however due to that setTimeout it becomes entirely programmatic according to you.

isUserGesture will be false. For better or worse, this is consistent with user gesture checks throughout WebKit (e.g. for popup blocking).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list