This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29068 - Should not reocmmend DocumentEvent.createEvent
Summary: Should not reocmmend DocumentEvent.createEvent
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - UI Events (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Gary Kacmarcik
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-19 21:36 UTC by Domenic Denicola
Modified: 2015-10-07 04:50 UTC (History)
2 users (show)

See Also:


Attachments

Description Domenic Denicola 2015-08-19 21:36:53 UTC
"To create an instance of the KeyboardEvent interface, use the DocumentEvent.createEvent("KeyboardEvent") method call. "

You should recommend using new KeyboardEvent instead. DocumentEvent doesn't even exist.

This problem also occurs with CompositionEvent.
Comment 1 Gary Kacmarcik 2015-10-07 04:50:57 UTC
Now tracking as: https://github.com/w3c/uievents/issues/51