rem:  if (typeof(window.tryToClose) != "function" || window.tryToClose()) BrowserCloseWindow(); 
add: if (WindowIsClosing()) window.close(); 
context: function BrowserTryToCloseWindow(){  //give tryToClose a chance to veto if it is defined  if (typeof(window.tryToClose) != "function" || window.tryToClose())    BrowserCloseWindow();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/842c8ce63687e858eae1fb17693f18960f1ebdf7/browser.js/buggy/browser/base/content/browser.js