Bug 717871 - Remove two superfluous SimpleTest.finish calls to fix SeaMonkey perma-orange; r=gavin
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 13 Jan 2012 15:49:36 -0500
changeset 85722 8b1714ea887cd2177756ec17107fa4757b270a66
parent 85721 da960aeaf4bfb42eea3819f67a920513669383d6
child 85723 944eb2cc77d879300f8f70fad77c145c73dbdbb4
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs717871
milestone12.0a1
Bug 717871 - Remove two superfluous SimpleTest.finish calls to fix SeaMonkey perma-orange; r=gavin
toolkit/components/passwordmgr/test/test_privbrowsing.html
toolkit/components/satchel/test/test_privbrowsing.html
--- a/toolkit/components/passwordmgr/test/test_privbrowsing.html
+++ b/toolkit/components/passwordmgr/test/test_privbrowsing.html
@@ -225,17 +225,16 @@ function handleLoad(aEvent) {
     SimpleTest.finish();
   }
 }
 
 
 var pb = get_PBSvc();
 if (!pb) { // Private Browsing might not be available
   ok(true, "Private browsing service is not available");
-  SimpleTest.finish();
 } else {
   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
 
   ok(Ci != null, "Access Ci");
   ok(Cc != null, "Access Cc");
 
   var prefBranch = Cc["@mozilla.org/preferences-service;1"].
                    getService(Ci.nsIPrefBranch);
--- a/toolkit/components/satchel/test/test_privbrowsing.html
+++ b/toolkit/components/satchel/test/test_privbrowsing.html
@@ -46,17 +46,16 @@ function handleLoad(aEvent) {
     prefBranch.clearUserPref("browser.privatebrowsing.keep_current_session");
     SimpleTest.finish();
   }
 }
 
 var pb = get_PBSvc();
 if (!pb) { // Private Browsing might not be available
   ok(true, "Private browsing service is not available");
-  SimpleTest.finish();
 } else {
   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
 
   var prefBranch = Cc["@mozilla.org/preferences-service;1"].
                    getService(Ci.nsIPrefBranch);
   prefBranch.setBoolPref("browser.privatebrowsing.keep_current_session", true);
 
   var formhist = Cc["@mozilla.org/satchel/form-history;1"].