Remove debug code that was generating a testprefs1.js file and shouldn't have got into the tree in the first place. r=bienvenu over irc, no bug.
authorMark Banner <bugzilla@standard8.plus.com>
Tue, 27 Jan 2009 21:26:02 +0000
changeset 1776 95ba043cde322fd940771a6cf346ed72f1acc516
parent 1775 49d1f161ef3fed9c67032268a7eff0006aceedbc
child 1777 741ee2abc5317b52e48f6f3b9c986efc3ab5eb4a
push idunknown
push userunknown
push dateunknown
reviewersbienvenu
Remove debug code that was generating a testprefs1.js file and shouldn't have got into the tree in the first place. r=bienvenu over irc, no bug.
mailnews/local/test/unit/test_pop3Password2.js
--- a/mailnews/local/test/unit/test_pop3Password2.js
+++ b/mailnews/local/test/unit/test_pop3Password2.js
@@ -187,17 +187,13 @@ function run_test() {
   incomingServer = acctMgr.getIncomingServer("server2");
 
   // Check that we haven't got any messages in the folder, if we have its a test
   // setup issue.
   do_check_eq(gLocalInboxFolder.getTotalMessages(false), 0);
 
   pop3Service = Cc["@mozilla.org/messenger/popservice;1"]
                       .getService(Ci.nsIPop3Service);
-  var prefsFile = do_get_file("../testprefs1.js", true);
-  var realPrefSvc = Components.classes["@mozilla.org/preferences-service;1"]
-    .getService(Ci.nsIPrefService);
-  realPrefSvc.savePrefFile(prefsFile);
 
   do_test_pending();
 
   testNext();
 }