rem: data.Stop(); 
add: onUnload(); 
context: function stop() {   // If too much time has elapsed, make sure it's OK to quit.   if ( started ) {      // Get current time.      var now = ( new Date() ).getTime();         // See if sufficient time has elapsed to warrant dialog.      if ( now - startTime > warningLimit ) {         // XXX - Disabled for now since confirm call doesn't work.         if ( 0 && !window.confirm( getString( "confirmCancel" ) ) ) {            return;         }      }   }   // Stop the transfer.   data.Stop();   // Close the window.   window.close();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5a7112f3dd04403d5e898b73570153b0714ab350/downloadProgress.js/clean/xpfe/components/xfer/resources/downloadProgress.js