Report question

Question: How to to initialize keyboard event with given char/keycode in a Chrome extension?