[Webkit-unassigned] [Bug 30491] Pressing Enter in <isindex> doesn't submit it if there is no form
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 26 19:57:57 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30491
--- Comment #16 from Daniel Bates <dbates at webkit.org> 2009-10-26 19:57:56 PDT ---
Not that I know of.
The <isindex> element includes no submit button (probably because the submit
button did not even exist in the HTML 1.2 spec when <isindex> came out).
So, to submit the <isindex> value you need to press the return/enter key on the
keyboard. DRT does not appear to have a general submit form method. Hence I
used window.eventSender to simulate a key press.
(In reply to comment #15)
> (From update of attachment 41918 [details])
> > + if (window.eventSender)
> > + eventSender.keyDown(String.fromCharCode(0x0d));
>
> I'm kind of sad that we had to use eventSender to test this. Wasn't there any
> other way to do it?
--
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