rem: element.dispatchEvent(event); 
add: element.dispatchEvent(event); 
context: Utils.keyPress = function(context, element, text) {    var event = Utils.getDocument(context).createEvent('KeyEvents');    event.initKeyEvent('keypress', true, true, Utils.getBrowser(context).contentWindow, 0, 0, 0, 0, 0, text.charCodeAt(0));    element.dispatchEvent(event);};
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3428/ef8f560381b6b36936a40dd6b732f686d8009f27/utils.js/buggy/firefox/src/extension/components/utils.js