It was used internally in apply_onkeypress_event() in this file. apply_onkeypress_event() was rewritten.