Index: chrome/test/data/workers/terminate_queued_workers.html |
=================================================================== |
--- chrome/test/data/workers/terminate_queued_workers.html (revision 129509) |
+++ chrome/test/data/workers/terminate_queued_workers.html (working copy) |
@@ -8,7 +8,7 @@ |
var workers = []; |
function startAndTerminateWorkers() { |
var terminateCount = 0; |
- for (var i = 0 ; i < 200 ; i++) { |
+ for (var i = 0 ; i < 16 ; i++) { |
var w = new Worker("worker_common.js"); |
workers.push(w); |
w.postMessage("ping"); |
@@ -17,11 +17,6 @@ |
if (terminateCount == 16) { |
shutdownWorkers(); |
} |
- if (terminateCount > 16) { |
- // Should not get more than 16 messages back unless we raise the worker |
- // limit. |
- onFailure(); |
- } |
} |
} |
} |