[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 14:00:49 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44140
--- Comment #8 from Darth <priyajeet.hora at gmail.com> 2010-09-28 14:00:49 PST ---
What if it's a programmatic submit like below, even though it is triggered by a user gesture?
<button type='button' onclick='foo();' />
foo() {
...
...
form.submit();
...
}
I would assume this should still keep isUserGesture true, thus making everything false and not locking out the history list.
What if -
foo() {
...
...
setTimeout(t, form.submit());
...
}
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.
Thanks
--
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