Bug 587925 - Increase the test timeout; a=orange-fix DONTBUILD
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 07 Dec 2010 12:39:54 -0500
changeset 58780 37f128b0d6bd2609d63d68960767b1843db84eaa
parent 58779 a2743e6bc5e8aebdef04b642142832128cb9490d
child 58781 e56f745705a8f0b7e78ab0109a914f583b327845
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersorange-fix
bugs587925
milestone2.0b8pre
Bug 587925 - Increase the test timeout; a=orange-fix DONTBUILD
browser/components/privatebrowsing/test/browser/browser_privatebrowsing_windowtitle.js
--- a/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_windowtitle.js
+++ b/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_windowtitle.js
@@ -42,16 +42,17 @@ function test() {
   // initialization
   gPrefService.setBoolPref("browser.privatebrowsing.keep_current_session", true);
   let pb = Cc["@mozilla.org/privatebrowsing;1"].
            getService(Ci.nsIPrivateBrowsingService);
 
   const testPageURL = "http://mochi.test:8888/browser/" +
     "browser/components/privatebrowsing/test/browser/browser_privatebrowsing_windowtitle_page.html";
   waitForExplicitFinish();
+  requestLongerTimeout(2);
 
   // initialization of expected titles
   let test_title = "Test title";
   let app_name = document.documentElement.getAttribute("title");
   const isOSX = ("nsILocalFileMac" in Ci);
   let page_with_title;
   let page_without_title;
   let about_pb_title;