From 482dffc7e18b3fd78cb89e40bbf9e48033931a57 Mon Sep 17 00:00:00 2001 From: "sdwilsh%shawnwilsher.com" Date: Tue, 22 May 2007 03:39:03 +0000 Subject: [PATCH] Trying to figure out why this test is failing silently. Commenting out listener and observer. --- .../components/downloads/test/unit/test_download_manager.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toolkit/components/downloads/test/unit/test_download_manager.js b/toolkit/components/downloads/test/unit/test_download_manager.js index da48482d429..08d40fbe76a 100644 --- a/toolkit/components/downloads/test/unit/test_download_manager.js +++ b/toolkit/components/downloads/test/unit/test_download_manager.js @@ -226,6 +226,7 @@ function run_test() */ // our download listener +/* var listener = { onDownloadStateChange: function(aState, aDownload) { @@ -290,11 +291,12 @@ function run_test() os.addObserver(observer, "dl-failed", false); os.addObserver(observer, "dl-cancel", false); os.addObserver(observer, "dl-done", false); +*/ for (var i = 0; i < tests.length; i++) tests[i](); - cleanup(); + //cleanup(); /* try {