Open Bug 740012 Opened 12 years ago Updated 2 years ago

dispatched keyboard events are not working

Categories

(Core :: DOM: Events, defect, P5)

17 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ricky, Unassigned)

References

()

Details

(Whiteboard: DUPEME?)

User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1068.1 Safari/536.3

Steps to reproduce:

Create an event via: document.createEvent("KeyboardEvent")
Prepared it with: initKeyEvent
Then dispatched it with: dispatchEvent


Actual results:

Nothing


Expected results:

The charcode I prepared with initKeyEvent should have appeared in the text box I dispatched in.

Code worked in firefox versions 3 to 11

Fiddle with code that works in version 11 and below: http://jsfiddle.net/smartcsc/p3NXk/
I do get different results with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28 ( .NET CLR 3.5.30729; .NET4.0E) ID:20120306064154 and Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120328 Firefox/14.0a1 ID:20120328031211

No errors in error console on nightly
We do experience the same issue with the FF 12 Release version, over the range
of platforms (Windows XP, Windows 7, OS X 10.6 and 10.7, Linux).

Our virtual keyboard code (Gecko-specific part of it), which have been successfully working since FF 3.6, have suddenly stopped to function in FF12.

http://jsfiddle.net/smartcsc/p3NXk/ fails for us, too.
OS: Linux → All
Hardware: x86 → All
Version: 12 Branch → 17 Branch
Same as bug 749185?
Component: Untriaged → DOM: Events
Product: Firefox → Core
Whiteboard: DUPEME?
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.