rem: client.eventPump.stepEvents(); setTimeout ("mainStep()", client.STEP_TIMEOUT); 
add: try { var count = client.eventPump.stepEvents(); if (count > 0) setTimeout("mainStep()", client.STEP_TIMEOUT); else setTimeout("mainStep()", client.STEP_TIMEOUT / 5); } catch(ex) { dd("Exception in mainStep!"); dd(formatException(ex)); setTimeout("mainStep()", client.STEP_TIMEOUT); } 
context: function mainStep(){    client.eventPump.stepEvents();    setTimeout ("mainStep()", client.STEP_TIMEOUT);}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/24f92a99f1f220b25ed23e517f19d43da6abcc09/static.js/buggy/xul/content/static.js