rem: window.frames[0].scrollTo(0, window.frames[0].document.height); 
add: if (!frame || !("contentWindow" in frame)) return;  var w = frame.contentWindow;  if (force || checkScroll(frame)) w.scrollTo(0, w.document.height); 
context: function scrollDown (){    window.frames[0].scrollTo(0, window.frames[0].document.height);}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/b8c60bd69a6bc8933f5605adc2fd1fbdf9dbcb99/static.js/buggy/xul/content/static.js