This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"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.
Now tracking as: https://github.com/w3c/uievents/issues/51