Disable gczeal on worker threads tests, r=sicking, a=shaver.
authorBen Turner <bent.mozilla@gmail.com>
Thu, 21 Aug 2008 17:04:23 -0700
changeset 17165 7e6f8b885113878dc00f2e6527776bc1eb14e527
parent 17164 73967cc9e4ee07b66a5a3f9a35958027a51507d5
child 18329 d13bb0868596b3d6c11d0a15c63b56c19abf7c74
push idunknown
push userunknown
push dateunknown
reviewerssicking, shaver
milestone1.9.1a2pre
Disable gczeal on worker threads tests, r=sicking, a=shaver.
dom/src/threads/test/test_longThread.html
dom/src/threads/test/test_simpleThread.html
dom/src/threads/test/test_threadErrors.html
dom/src/threads/test/test_threadTimeouts.html
--- a/dom/src/threads/test/test_longThread.html
+++ b/dom/src/threads/test/test_longThread.html
@@ -17,17 +17,17 @@ Tests of DOM Worker Threads (Bug 437152)
 </div>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
 
   var prefs = Components.classes["@mozilla.org/preferences-service;1"].
               getService(Components.interfaces.nsIPrefBranch);
-  prefs.setIntPref("javascript.options.gczeal", 2);
+  //prefs.setIntPref("javascript.options.gczeal", 2);
 
   var workerScript =
     "function messageListener(message, source) { " +
     "  switch (message) { " +
     "    case 'start': " +
     "      /* do a ton of stuff! */ " +
     "      for (var i = 0; i < 10000000; i++) { } " +
     "      dump('done!\\n'); " +
--- a/dom/src/threads/test/test_simpleThread.html
+++ b/dom/src/threads/test/test_simpleThread.html
@@ -17,17 +17,17 @@ Tests of DOM Worker Threads (Bug 437152)
 </div>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
 
   var prefs = Components.classes["@mozilla.org/preferences-service;1"].
               getService(Components.interfaces.nsIPrefBranch);
-  prefs.setIntPref("javascript.options.gczeal", 2);
+  //prefs.setIntPref("javascript.options.gczeal", 2);
 
   var workerScript =
     "function messageListener(message, source) { " +
     "  switch (message) { " +
     "    case 'no-op': " +
     "      break; " +
     "    case 'start': " +
     "      /* do a ton of stuff! */ " +
--- a/dom/src/threads/test/test_threadErrors.html
+++ b/dom/src/threads/test/test_threadErrors.html
@@ -17,17 +17,17 @@ Tests of DOM Worker Threads (Bug 437152)
 </div>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
 
   var prefs = Components.classes["@mozilla.org/preferences-service;1"].
               getService(Components.interfaces.nsIPrefBranch);
-  prefs.setIntPref("javascript.options.gczeal", 2);
+  //prefs.setIntPref("javascript.options.gczeal", 2);
 
   var badWorkerScripts = [
     // Syntax error
     "function messageListener(message, source) { " +
     "  for (var i = 0; i < 10) { } " +
     "} " +
     "",
 
--- a/dom/src/threads/test/test_threadTimeouts.html
+++ b/dom/src/threads/test/test_threadTimeouts.html
@@ -17,17 +17,17 @@ Tests of DOM Worker Threads (Bug 437152)
 </div>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 
   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
 
   var prefs = Components.classes["@mozilla.org/preferences-service;1"].
               getService(Components.interfaces.nsIPrefBranch);
-  prefs.setIntPref("javascript.options.gczeal", 2);
+  //prefs.setIntPref("javascript.options.gczeal", 2);
 
   var workerScript =
     "var gTimeoutId; " +
     "var gTimeoutCount = 0; " +
     "var gIntervalCount = 0; " +
     "" +
     "function timeoutFunc() { " +
     "  if (++gTimeoutCount > 1) { " +