WebRunner.attachDocument(domDocument); 
this.attachDocument(domDocument); 
  onStateChange: function(aWebProgress, aRequest, aStateFlags, aStatus) {    if (aStateFlags & Ci.nsIWebProgressListener.STATE_IS_REQUEST) {      if (aStateFlags & Ci.nsIWebProgressListener.STATE_START) {        this._requestsStarted++;      }      else if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP) {        this._requestsFinished++;      }      if (this._profile.status && this._requestsStarted > 1) {        var value = (100 * this._requestsFinished) / this._requestsStarted;        var progress = document.getElementById("progress");        progress.setAttribute("mode", "determined");        progress.setAttribute("value", value);      }    }    if (this._profile.status && (aStateFlags & Ci.nsIWebProgressListener.STATE_IS_NETWORK)) {      var progress = document.getElementById("progress");      if (aStateFlags & Ci.nsIWebProgressListener.STATE_START) {        progress.hidden = false;      }      else if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP) {        progress.hidden = true;        this.onStatusChange(aWebProgress, aRequest, 0, "Done");        this._requestsStarted = this._requestsFinished = 0;      }    }    if (aStateFlags & Ci.nsIWebProgressListener.STATE_IS_DOCUMENT) {      if (aStateFlags & Ci.nsIWebProgressListener.STATE_STOP) {        var domDocument = aWebProgress.DOMWindow.document;        WebRunner.attachDocument(domDocument);      }    }  },
705	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/705/40aa9912b01c926c8472ab683231ad8050492f7b/webrunner.js/clean/app/chrome/content/webrunner.js