Commit Graph

64 Commits

Author SHA1 Message Date
Ehsan Akhgari
a057df275e Backed out changeset 113bda3be8df (bug 463256) due to test failures on Mac 2009-03-12 13:35:14 +03:30
Ehsan Akhgari
0e7ed572d4 Bug 463256 - SSL sites sometimes don't load after re-entering regular browsing mode (from Private Browsing); r=mconnor,sdwilsh 2009-03-12 12:28:09 +03:30
Edward Lee
55f5e1eea4 Bug 472924 - Remove RDF import from the download manager. r=sdwilsh
--HG--
rename : toolkit/components/downloads/test/unit/bug_381535_downloads.rdf => toolkit/components/downloads/test/unit/empty_downloads.rdf
rename : toolkit/components/downloads/test/unit/test_bug_329741.js => toolkit/components/downloads/test/unit/test_old_download_files_removed.js
2009-02-19 17:28:12 -06:00
Ehsan Akhgari
74244a2cc5 Bug 463021 - Private browsing tests use timeouts; r=sdwilsh 2008-12-06 14:14:32 +03:30
Shawn Wilsher
4aa41a7509 Bug 462964 - nsIDownloadManager should have removeDownloadsByTimeframe
r=mconnor
2008-11-05 18:39:24 -05:00
Jeff Walden
3e90d9d020 Bug 462992 - Assertion running toolkit/components/downloads/test/test_download_manager.js in debug builds. r=sdwilsh, test-only change 2008-11-05 14:57:20 -08:00
Ehsan Akhgari
f22388d6b9 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [downloadmgr part]; r=sdwilsh 2008-11-04 02:52:21 +03:30
Ehsan Akhgari
83f6c4545b Bug 457110 - Support in-memory DB for the downloads manager back-end, r=sdwilsh 2008-10-15 10:54:52 +03:30
Shawn Wilsher
253331bbc5 Removing debugging code from earlier today in the download manager test. 2008-10-08 19:37:05 -04:00
Shawn Wilsher
f427ce8f7e More test file cleanup so failed runs don't cause perpetual failures... 2008-10-08 16:31:14 -04:00
Shawn Wilsher
aa5b3c8ff8 Remove the places.sqlite file for download manager tests because of expiration tests. 2008-10-08 16:07:22 -04:00
Shawn Wilsher
9394878ebc A bit more debugging output for the test... 2008-10-08 15:57:10 -04:00
Shawn Wilsher
d8bfbc740e Adding some dump statements to figure out what is gong on with tinderbox. 2008-10-08 15:26:39 -04:00
Dietrich Ayala
b3718e6ed9 Bug 457396 - in test_history_expiration add the visit in the past to circumvent possible VM timing bugs (for mak77@bonardo.net, r=sdwilsh) 2008-09-27 14:17:30 -07:00
Ted Mielczarek
56b60354cb bug 445339 - test_bug_406857.js crashing intermittently on Linux unittest VMs. disable alert service notifications. r=gavin 2008-07-22 16:13:35 -04:00
Shawn Wilsher
ad702f184f Bug 437415 - Entering offline mode should pause active downloads
This has the download manager listen to the online and offline observer topics
sent out by necko.  Downloads will now pause when going offline, and resume when
going back online, just like we do with sleep and wakeup notifications.
r=gavin

--HG--
rename : toolkit/components/downloads/test/unit/test_sleep_wake.js => toolkit/components/downloads/test/unit/test_offline_support.js
2008-07-08 17:25:48 -04:00
Shawn Wilsher
bc37ca7855 Bug 431745 - qm-centos5-02 is intermittently failing test_sleep_wake.js
This makes the test not fail if a specific failure point is met that can occur
when test execution is slow (like the tinderbox).
r=gavin
2008-07-08 10:22:33 -04:00
Gavin Sharp
85c5cf70c4 Debugging followup (bug 431745) 2008-07-06 21:35:18 -04:00
Gavin Sharp
4e41038865 Debugging followup (bug 431745) 2008-07-06 21:10:46 -04:00
Gavin Sharp
b592f19050 Debugging followup (bug 431745) 2008-07-06 19:52:35 -04:00
Gavin Sharp
23cfc2b70a Debugging followup (bug 431745) 2008-07-06 19:39:50 -04:00
Gavin Sharp
783e7e66f7 Temporary debugging patch to try and get to the bottom of the test_sleep_wake failures (bug 431745) 2008-07-06 18:39:37 -04:00
Shawn Wilsher
e21f72ead8 Bug 438653 - move remaining browser tests to xpcshell/chrome tests
This moves the two remaining browser tests in toolkit/mozapps/downloads/tests to
an xpcshell test and a chrome test.  The reason for this change is to remove the
dependency of the browser from download manager tests since it is a toolkit
component.
This version unregisters the factory that we register to override the prompt
service in test_bug_412360.xul so we no longer leak.
r=gavin

--HG--
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_406857.js => toolkit/components/downloads/test/unit/test_bug_406857.js
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_412360.js => toolkit/mozapps/downloads/tests/chrome/test_bug_412360.xul
2008-06-16 12:58:28 -04:00
Shawn Wilsher
ec7a58a336 Backed out changeset 998cc827bfb1 due to leaks found with the added tests. 2008-06-16 15:00:06 -04:00
Shawn Wilsher
a2f8163d9f Bug 438653
This moves the two remaining browser tests in toolkit/mozapps/downloads/tests to
an xpcshell test and a chrome test.  The reason for this change is to remove the
dependency of the browser from download manager tests since it is a toolkit
component.
r=gavin

--HG--
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_406857.js => toolkit/components/downloads/test/unit/test_bug_406857.js
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_412360.js => toolkit/mozapps/downloads/tests/chrome/test_bug_412360.xul
2008-06-16 12:58:28 -04:00
Devin Naquin
fae583ffd5 Bug 383223
This patch refactors the xpcshell unit tests for the download manager back-end
to use do_test_pending and do_test_finished instead of nesting an event loop
with the thread manager.

r=sdwilsh
2008-06-12 09:56:40 -04:00
bugzilla@standard8.plus.com
1b4ae4fc79 Bug 431124 xpcshell test test_bug_395092.js fails on Thunderbird. r=sdwilsh, test-only change 2008-05-04 06:50:25 -07:00
bugzilla@standard8.plus.com
80da1fbe62 Bug 431159 test_history_expiration.js fails on builds without places enabled. r=sdwilsh, test only change 2008-05-03 04:18:27 -07:00
edward.lee@engineering.uiuc.edu
8ed7b87740 Bug 431346 - File -> Import -> Browsing History crash Firefox [@ nsCOMPtr.h:931]. r=sdwilsh, b-ff3=beltzner, a1.9=shaver. Fixes Bug 431597 - Firefox crash after deleting History Item via Places Library [@ nsNavHistoryResult.h:429] 2008-05-01 07:55:04 -07:00
edward.lee@engineering.uiuc.edu
659efec9be Bug 251337 - Download manager history should have "aging" option, just like the browser history. r=sdwilsh, r=mano, r=bsmedberg, a1.9=damons 2008-04-22 16:37:00 -07:00
dholbert@cs.stanford.edu
6578c25995 Backing out mardak's Bug 251337 checkin to fix Thunderbird & Sunbird tinderbox bustage. 2008-04-21 16:00:59 -07:00
edward.lee@engineering.uiuc.edu
3fd277d1d9 Bug 251337 - Download manager history should have "aging" option, just like the browser history. r=sdwilsh, r=mano, a1.9=damons 2008-04-21 14:48:55 -07:00
Callek@gmail.com
a76792c4d7 Followup to Bug 420230, remove extra 'case' in test. rs=gavin 2008-03-25 08:55:12 -07:00
reed@reedloden.com
01c0da3a86 Bug 420230 - "unable to save data urls to disk" [p=jmathies@mozilla.com (Jim Mathies) r=robarnold r=Mardak a1.9b5=beltzner] 2008-03-24 21:44:36 -07:00
edward.lee@engineering.uiuc.edu
a4ae1d4790 Bug 335418 - Pause downloads when computer is about to go to sleep. r=sdwilsh, a1.9=beltzner 2008-03-19 18:16:02 -07:00
jwalden@mit.edu
5d7f3c8860 Add a bunch of forgotten |false| parameters to setHeader calls in httpd.js server handlers; no functionality change because absence defaulted to false. No bug, test-only set of trivial changes so self-reviewing... 2008-03-18 10:42:39 -07:00
mconnor@steelgryphon.com
a2bc45835d Bug 329741 - history.dat, formhistory.dat, downloads.rdf should be deleted when the user clears private data, r=gavin 2008-03-18 05:54:23 -07:00
sdwilsh@shawnwilsher.com
dc61f1e6d4 Bug 409179 - Inconsistent autoresume state causes download manager instantiation to fail (can lead to crash). r=Mardak 2008-02-21 19:50:01 -08:00
reed@reedloden.com
83ad46db2c Bug 393922 - "Remove nsIDownloadProgressListener::onStatusChange and nsIDownloadProgressListener::onLocationChange" [p=graememcc_firefox@graeme-online.co.uk (graememcc) r=sdwilsh a1.9=beltzner] 2007-12-28 19:18:22 -08:00
sdwilsh@shawnwilsher.com
a4b10289dd Bug 401582 - Download Manager stuck scanning for viruses. r=Mardak, a=beltzner 2007-12-26 17:42:05 -08:00
sdwilsh@shawnwilsher.com
e09d7f5f08 Bug 395092 - Don't send dl-start event for download resume, (Add dl-pause and dl-resume events?). r=Mardak, a=blocking-firefox3 2007-11-12 18:50:13 -08:00
gavin@gavinsharp.com
271c48ccd3 Bug 401430: download manager 'add to recent docs' functionality (Windows) isn't working, r=sdwilsh 2007-10-30 11:38:38 -07:00
gavin@gavinsharp.com
4413dc31c9 Bug 401430: download manager 'add to recent docs' functionality (Windows) isn't working, r=sdwilsh 2007-10-30 11:31:50 -07:00
edward.lee@engineering.uiuc.edu
e74b5c5180 Bug 398216 - Downloads report the wrong size when finished. r=sdwilsh, a=mconnor 2007-10-02 08:05:38 -07:00
edward.lee@engineering.uiuc.edu
dad1140140 Bug 395537 - Nothing happens if you resume a download that you deleted. r=sdwilsh, blocking-ff3=mconnor 2007-10-01 16:57:48 -07:00
sdwilsh@shawnwilsher.com
3cedd5720a Bug 390748 - When downloading multiple files, Download Manager doesn't show files it has queued. r=mano, a=blocking-firefox3 2007-08-15 10:56:50 -07:00
sdwilsh@shawnwilsher.com
069e9d5b18 Bug 385875 - Remove image url from being stored in the DM. r=mano 2007-07-22 10:24:03 -07:00
sdwilsh@shawnwilsher.com
3a7ebb4f73 Bug 384744 - Download manager should enforce a singleton, not just fail on createInstance. r=gavin.sharp 2007-07-12 13:01:57 -07:00
sdwilsh@shawnwilsher.com
655eb4d7e7 Bug 384245 - Fix unit tests in a non-hackish way. r=mano 2007-06-14 09:49:54 -07:00
sdwilsh@shawnwilsher.com
1ba293a581 Fix windows orange (stupid file path issues) 2007-06-12 18:19:22 -07:00