Temporarily disabling the main browser progress listener to see what kind of impact it will have on perf numbers
authorgavin@gavinsharp.com
Sun, 23 Sep 2007 11:36:46 -0700
changeset 6243 db98d06feadb270630c4d9b06cff5b70e005d53b
parent 6242 c8fed32c4f0190c2cfcf8b8f40e48c634f71df20
child 6244 155cd7bdd7d9142a33937b5c88dd363c72129bd8
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9a9pre
Temporarily disabling the main browser progress listener to see what kind of impact it will have on perf numbers
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -928,17 +928,17 @@ function prepareForStartup()
   // remove the disablehistory attribute so the browser cleans up, as
   // though it had done this work itself
   gBrowser.browsers[0].removeAttribute("disablehistory");
 
   // enable global history
   gBrowser.docShell.QueryInterface(Components.interfaces.nsIDocShellHistory).useGlobalHistory = true;
 
   // hook up UI through progress listener
-  gBrowser.addProgressListener(window.XULBrowserWindow, Components.interfaces.nsIWebProgress.NOTIFY_ALL);
+  //gBrowser.addProgressListener(window.XULBrowserWindow, Components.interfaces.nsIWebProgress.NOTIFY_ALL);
 
   // Initialize the feedhandler
   FeedHandler.init();
 
   // Initialize the searchbar
   BrowserSearch.init();
 }