[Webkit-unassigned] [Bug 49424] New: Executing actions twice for <input type="submit" /> and <button type="submit" /> in a <form>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 11 21:22:26 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=49424
Summary: Executing actions twice for <input type="submit" />
and <button type="submit" /> in a <form>
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dmikurube at google.com
How to reproduce:
<form action="javascript: handler()" method="get">
<button id="pass1" type="submit" />
<input id="pass2" type="submit" />
</form>
<script>
var count = 0;
function handler()
{
count++;
}
var input = document.getElementById('pass2');
input.click();
console.log(count);
</script>
Expected:
count will be 1 after input.click();
Actual:
count will be 2.
--
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