I was checking some code and found an issue that on key press a JS event is called with no parameter passed and he consoles the event. The event object gets displayed in chrome but not on Mozilla.
Please find the sample code below: HTML
<input type="text" onkeypress="func()"/>
JS
function func(){
console.log(event);
}
The above works fine in chromium but not on Mozilla.