rem: if ( aStateFlags & Components.interfaces.nsIWebProgressListener.STATE_STOP ) {  this.completed = true; 
add: if ( aStateFlags & nsIWebProgressListener.STATE_STOP ) {  if ( this.targetFile != null ) {  this.completed = true; return; }    try { var chan = aRequest.QueryInterface(nsIChannel); if (chan.URI.equals(this.target)) {  this.completed = true; } } catch (e) { } 
context:     onStateChange: function( aWebProgress, aRequest, aStateFlags, aStatus ) {        if ( aStateFlags & Components.interfaces.nsIWebProgressListener.STATE_STOP ) {            // we are done downloading...            this.completed = true;        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b86829b878a9fe8971faa3454ae417acac9586d1/nsProgressDialog.js/buggy/embedding/components/ui/progressDlg/nsProgressDialog.js