Closed
Bug 76352
Opened 24 years ago
Closed 24 years ago
createEvent creates a KeyEvent for any event type
Categories
(Core :: DOM: Events, defect)
Tracking
()
People
(Reporter: vladimire, Assigned: joki)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
event = document.createEvent("MouseEvent");
alert(event);
The following code shows "object KeyEvent" In the alert box.
I'll attach the testcase
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Updated•24 years ago
|
OS: Windows 98 → All
The test case shows a return of null for me in Moz 0.8.1 on Linux.
According to the spec, the string passed to createEvent() should be plural, by
the way: createEvent("MouseEvents"), createEvent("UIEvents") etc.
Assignee | ||
Comment 3•24 years ago
|
||
It doesn't really create a KeyEvent, that's just the javascript class typing at
the moment, dupe of 35377. It has the appropriate properties. The plural
string part is in 77251.
*** This bug has been marked as a duplicate of 35377 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•