rem: doneURL : function() {  
add: doneURL : function() { var basename = new String(this.mCurrentURL.relurl); basename = basename.replace(":", ""); basename = basename.replace("/", "_"); basename = basename.replace(".", "_"); basename = basename.replace("?", "_"); basename = basename.replace("&", "_"); basename += ".rgd";  var data = this.mCurrentURL.dir.clone(); data.append( this.mIsBaseline ? "baseline" : "verify"); data.append(basename);  dump("Writing regression data to " + data.QueryInterface(nsILocalFile).persistentDescriptor + "\n"); this.mRegressionTester.dumpFrameModel(gBrowser.contentWindow, data, nsILayoutRegressionTester.DUMP_FLAGS_MASK_DUMP_STYLE);  if (!this.mIsBaseline) { var base_data = this.mCurrentURL.dir.clone(); base_data.append("baseline"); base_data.append(basename); dump("Comparing to regression data from " + base_data.QueryInterface(nsILocalFile).persistentDescriptor + "\n"); var filesDiffer = this.mRegressionTester.compareFrameModels(base_data, data, nsILayoutRegressionTester.COMPARE_FLAGS_BRIEF) dump("Comparison for " + this.mCurrentURL.url + " " + (filesDiffer ? "failed" : "passed") + "."); } 
context:   doneURL : function() {    // XXX Dump or compare regression test data here!    this.mCurrentURL = null;    this.startURL();  },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/806d07f13f5b23c2cb48c910c91cfb952375b3f2/layoutdebug.js/buggy/extensions/layout-debug/ui/content/layoutdebug.js