Remove code handled by `KeyboardEvent.fromDomKeyboardEvent`