Commit Graph

128 Commits

Author SHA1 Message Date
Shawn Wilsher
de1e984f08 More test file cleanup so failed runs don't cause perpetual failures... 2008-10-08 16:31:14 -04:00
Shawn Wilsher
a4fad3b421 Remove the places.sqlite file for download manager tests because of expiration tests. 2008-10-08 16:07:22 -04:00
Shawn Wilsher
c98997004c A bit more debugging output for the test... 2008-10-08 15:57:10 -04:00
Shawn Wilsher
51502c3da6 Adding some dump statements to figure out what is gong on with tinderbox. 2008-10-08 15:26:39 -04:00
Daniel Holbert
72c410a648 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Dietrich Ayala
c75159123b 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
d3a645e267 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
239b9d97e6 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
2ccfb6c894 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
370c6788cd Debugging followup (bug 431745) 2008-07-06 21:35:18 -04:00
Gavin Sharp
194703ae05 Debugging followup (bug 431745) 2008-07-06 21:10:46 -04:00
Gavin Sharp
f4d490d4c4 Debugging followup (bug 431745) 2008-07-06 19:52:35 -04:00
Gavin Sharp
3bbd185188 Debugging followup (bug 431745) 2008-07-06 19:39:50 -04:00
Gavin Sharp
d2915d5735 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
2aa5f76c7b 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
bc8e10dcd1 Backed out changeset 998cc827bfb1 due to leaks found with the added tests. 2008-06-16 15:00:06 -04:00
Shawn Wilsher
b20109dead 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
0cbcc65cd5 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
Shawn Wilsher
8e91e95c12 Backed out changeset a26c86b184f7 due to Linux orange. It is not clear why this worked locally, and failed on tinderbox. 2008-06-04 13:10:31 -04:00
sdwilsh@shawnwilsher.com
98623ef402 Bug 437063
nsIDownloadManagerUI::visible isn't accurate
r=Mardak
2008-06-04 11:22:45 -04:00
bugzilla@standard8.plus.com
e24df5bc50 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
267192a1a4 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
aeffa9eb25 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
a993453306 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
cd91e7dfe2 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
a5ee1dc568 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
ee844a9d99 Followup to Bug 420230, remove extra 'case' in test. rs=gavin 2008-03-25 08:55:12 -07:00
reed@reedloden.com
b5d11f686b 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
57d1667b9d 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
9156d6bbff 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
e296c9749a 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
458fdbc8a3 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
edward.lee@engineering.uiuc.edu
adb4a9fc8f Bug 416303 - Show default list, clear search, focus list when hitting escape from the search box. r=sdwilsh, a1.9=beltzner 2008-02-21 12:49:56 -08:00
sdwilsh@shawnwilsher.com
53a55d3e0b Disable this test again since windows and linux do not like it 2008-01-30 11:29:37 -08:00
sdwilsh@shawnwilsher.com
e26f26360a Backout of test change since it's orange now (passes locally though :( ) 2008-01-30 10:48:18 -08:00
sdwilsh@shawnwilsher.com
514e62e67e Bug 414214 - Download Manager window doesn't stay open when browser.download.manager.closeWhenDone is true. r=Mano, a=mconnor 2008-01-30 10:15:01 -08:00
sdwilsh@shawnwilsher.com
4b555d0297 Disable test for now - bug 414214 2008-01-29 16:41:17 -08:00
sdwilsh@shawnwilsher.com
8e7d08ad84 Bug 414214 - Download Manager window doesn't stay open when browser.download.manager.closeWhenDone is true. r=Mano 2008-01-29 15:43:31 -08:00
sdwilsh@shawnwilsher.com
41c9d15a45 Test for Bug 412844 2008-01-28 12:23:53 -08:00
reed@reedloden.com
6190613fb1 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
a9b4d699f6 Bug 401582 - Download Manager stuck scanning for viruses. r=Mardak, a=beltzner 2007-12-26 17:42:05 -08:00
sdwilsh@shawnwilsher.com
6d0e410d33 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
edward.lee@engineering.uiuc.edu
58031866a6 Bug 402493 - Incorrect license boilerplate for download manager schema migration test code. rs=sdwilsh 2007-11-04 20:43:18 -08:00
gavin@gavinsharp.com
1e894e372f 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
153cd2ed8a Bug 401430: download manager 'add to recent docs' functionality (Windows) isn't working, r=sdwilsh 2007-10-30 11:31:50 -07:00
reed@reedloden.com
5cda5981bd New tests for bug 399815 that actually work [p=sdwilsh r=Mardak a=tests] 2007-10-26 00:01:51 -07:00
reed@reedloden.com
cb5d42992c New tests for bug 395144 that actually work [p=sdwilsh r=Mardak a=tests] 2007-10-25 23:59:50 -07:00
edward.lee@engineering.uiuc.edu
a37370f20f Backout testcases for bug 395144 and bug 399815. a=mconnor 2007-10-24 17:07:01 -07:00
edward.lee@engineering.uiuc.edu
cfddcaf952 Bug 395144 and bug 399815's sqlite files. 2007-10-24 15:25:09 -07:00
edward.lee@engineering.uiuc.edu
57baa63262 Bug 399815 - Store autoResume in moz_downloads table to indicate if a download should auto-resume. r=sdwilsh, a1.9=mconnor aM9=mconnor 2007-10-24 15:23:13 -07:00
edward.lee@engineering.uiuc.edu
b124fdf79e Bug 395144 - Figure out what to do when we are supposed to open an application with download resume. r=sdwilsh, b-ff3=beltzner, aM9=beltzner 2007-10-24 15:19:04 -07:00
edward.lee@engineering.uiuc.edu
26d6886e87 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
e14c2cac9c Bug 394548 - Store download progress in database when changing states. r=sdwilsh, a=mconnor 2007-10-01 17:16:12 -07:00
edward.lee@engineering.uiuc.edu
311e58a099 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
edward.lee@engineering.uiuc.edu
be3791f701 Bug 396457 - Store mTempFile as tempPath in moz_downloads table. r=sdwilsh, a=mconnor 2007-09-26 00:20:16 -07:00
sdwilsh@shawnwilsher.com
4dda63e01c Bug 377243 - [SoC] Implement Download Resume. Patch by Brahmana <om.brahmana@gmail.com> and Shawn Wilsher <me@shawnwilsher.com>. r=sdwilsh, r=mconnor, a=[wanted-firefox3] 2007-09-05 21:59:34 -07:00
sdwilsh@shawnwilsher.com
b7fdcfc19e Bug 391870 - Have the download manager store the referring uri when appropriate (and use it in the front end). r=mano, r=cbiesinger, sr=cbiesinger 2007-08-17 16:05:26 -07:00
sdwilsh@shawnwilsher.com
23c5187239 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
63ab11a328 Bug 385875 - Remove image url from being stored in the DM. r=mano 2007-07-22 10:33:14 -07:00
sdwilsh@shawnwilsher.com
9f74d0d3bc Bug 385875 - Remove image url from being stored in the DM. r=mano 2007-07-22 10:24:03 -07:00
sdwilsh@shawnwilsher.com
d4b3b3335c 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
72b159dbe9 Bug 384245 - Fix unit tests in a non-hackish way. r=mano 2007-06-14 09:49:54 -07:00
sdwilsh@shawnwilsher.com
743b397841 Fix windows orange (stupid file path issues) 2007-06-12 18:19:22 -07:00
sdwilsh@shawnwilsher.com
24515b8610 Bug 382839 - getDownload should return any known download, not just those in progress. r=gavin.sharp 2007-06-12 16:39:15 -07:00
sdwilsh@shawnwilsher.com
8c70974897 Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger 2007-06-04 17:03:35 -07:00
sdwilsh@shawnwilsher.com
eb3a5b4b69 Bug 289540 - download manager takes only one listener. r=mconnor 2007-05-25 16:47:53 -07:00
sdwilsh@shawnwilsher.com
56dc838023 Bug 381535 - Jesse's downloads.rdf doesn't import to sqlite. r=mconnor 2007-05-25 10:25:51 -07:00
sdwilsh@shawnwilsher.com
ec066ed9f5 Bug 381646 - Re-enable tests for download manager (windows orange patch). r=sayrer 2007-05-23 17:38:48 -07:00
sdwilsh@shawnwilsher.com
4d9049cfd0 Bug 381646 - Re-enable tests for download manager. r=sayrer 2007-05-23 16:52:50 -07:00
sdwilsh@shawnwilsher.com
36645ed1dd Bug 381538 - "clean up" button remains greyed out after download completes. r=gavin.sharp 2007-05-23 16:12:03 -07:00
sayrer@gmail.com
9c74aa0b23 comment out dm tests until we can make them pass in opt builds 2007-05-21 21:47:50 -07:00
sayrer@gmail.com
df65c20924 try some more tests 2007-05-21 21:23:38 -07:00
sdwilsh@shawnwilsher.com
9d9544bb41 Trying to figure out why this test is failing silently. Commenting out listener and observer. 2007-05-21 20:39:03 -07:00
sdwilsh@shawnwilsher.com
09df39f431 Trying to figure out why this test is failing silently. 2007-05-21 20:09:26 -07:00
sdwilsh@shawnwilsher.com
d573634069 Trying to figure out why this test is failing silently. r=sayrer 2007-05-21 19:26:12 -07:00
sdwilsh@shawnwilsher.com
22bce36455 Trying to figure out why this test is failing silently. r=sayrer 2007-05-21 18:47:34 -07:00
sdwilsh@shawnwilsher.com
97ddc03f15 Trying to figure out why this test is failing silently. r=sayrer 2007-05-21 18:23:39 -07:00
sdwilsh@shawnwilsher.com
e75178083f Bug 380250 - Convert Download Manager's RDF backend to mozStorage. r=cbiesinger,r=mconnor 2007-05-21 17:03:33 -07:00