rem: dlmgr.open(window, null); 
add: window.openDialog("chrome: 
context: function toDownloadManager(){  var dlmgr = Components.classes['@mozilla.org/download-manager;1'].getService();  dlmgr = dlmgr.QueryInterface(Components.interfaces.nsIDownloadManager);  var windowMediator = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();  windowMediator = windowMediator.QueryInterface(nsIWindowMediator);  var dlmgrWindow = windowMediator.getMostRecentWindow("Download:Manager");  if (dlmgrWindow) {    dlmgrWindow.focus();  }  else {    dlmgr.open(window, null);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/82383a390bc4e062b6c2f3c4756e3f68412206bd/browser.js/buggy/browser/base/content/browser.js