Commit Graph

206 Commits

Author SHA1 Message Date
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
4c5bb7b667 Bug 439495 - remove references of "browser.download.manager.useWindow"
This removes the use of the preference browser.download.manager.useWindow, which
was redundant because we do not have any download manager UI that isn't in a
window, and the preference browser.download.manager.showWhenStarting controls
the appearance of the downloads window.  Additionally, this removes the preference browser.download.manager.openDelay which was made obsolete long ago but not
removed from firefox.js.
r=gavin
2008-06-26 11:51:38 -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
gavin@gavinsharp.com
91b4155207 Bug 430566: Saving web page/some downloads fail with "blocked by your Security Zone Policy", patch by Jim Mathies <jmathies@mozilla.com>, r=robarnold, r=sdwilsh, a=beltzner 2008-05-01 14:06:43 -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
sdwilsh@shawnwilsher.com
f6ab64ca11 Bug 397935 - Download Manager ("Downloads") window doesn't stay open when clicking on download-complete alert notification with auto-close pref ("close when done"). r=Mardak, sr=mconnor 2008-04-02 20:05:22 -07:00
reed@reedloden.com
ba5ea62a62 Bug 424608 - "NS_GetInnermostURI result requires a null check in download scanner" [p=jmathies@mozilla.com (Jim Mathies) r=sdwilsh a=blocking-firefox3+] 2008-04-01 01:37:01 -07:00
reed@reedloden.com
a12e912b25 Bug 425924 - "CVS remove mozilla/toolkit/components/downloads/src/old.cpp" [p=ryanvm@gmail.com (Ryan VanderMeulen) r=sdwilsh] 2008-04-01 01:30:31 -07:00
reed@reedloden.com
c46c0b0f2b Bustage fix for bug 412374 - s/DOWNLOAD_BLOCKED/DOWNLOAD_BLOCKED_PARENTAL/. 2008-03-29 00:19:59 -07:00
reed@reedloden.com
45e6187afe Bug 412374 - "Download Mgr bypasses Vista Parental Controls' file-blocking flag" [p=jmathies@mozilla.com (Jim Mathies) r=sdwilsh sr=bsmedberg a=blocking-firefox3+] 2008-03-29 00:12:13 -07:00
edward.lee@engineering.uiuc.edu
16ef55f065 Bug 394247 - nsITransfer::Init fails (crash [@nsDownloadProxy::OnStateChange]). r=sdwilsh, b-ff3=beltzner 2008-03-27 14:00:20 -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
sdwilsh@shawnwilsher.com
e99293d31f Bug 423273 - Fix storage API to not break old behavior. r=shaver, sr=shaver, a=shaver 2008-03-24 15:14:38 -07:00
edward.lee@engineering.uiuc.edu
06f1bb8e8f Bug 416683 - binary downloads are deleted on completion when "Launch applications and unsafe files" is disabled. p=jmathies, r=Mardak, r=robarnold, sr=bsmedberg, a1.9b5=beltzner, b-ff3=beltzner 2008-03-21 17:23:45 -07:00
reed@reedloden.com
9c21a1ed3d Back out Jim Mathies's patch from bug 412374 due to build bustage on non-Vista systems. 2008-03-19 23:34:26 -07:00
reed@reedloden.com
c327662d2b Bug 412374 - "Parental Controls can be easily bypassed by going back to the download source" [p=jmathies@mozilla.com (Jim Mathies) r=sdwilsh sr=bsmedberg a=blocking-firefox3+] 2008-03-19 23:01:26 -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
reed@reedloden.com
2c1bf0f84c Bug 399498 - "use XDG downloads dir as default downloads dir" (use XDG download dir, with a fallback to the current default if the XDG user dirs are disabled) [p=chpe@gnome.org (Christian Persch) r=sdwilsh r=bsmedberg a1.9=damons] 2008-03-12 15:40:51 -07:00
edward.lee@engineering.uiuc.edu
27004fc15c Bug 412360 - Download Manager remains empty, downloads don't start, with this 3.0b2 downloads.sqlite. r=sdwilsh, r=biesi, sr=biesi, b-ff3=beltzner 2008-03-08 17:02:06 -08:00
tellrob@gmail.com
eff3be668c Bug 418960, Download scanner threads should be lower priority r=sdwilsh 2008-02-23 14:14:56 -08:00
tellrob@gmail.com
75781cc64b Bug 412565, Exception handlers for virus scanning r=sdwilsh 2008-02-22 16:59:30 -08:00
tellrob@gmail.com
3cc7a092a0 Bug 409815, Watchdog timer for download scanner r=sdwilsh 2008-02-22 16:30:51 -08:00
edward.lee@engineering.uiuc.edu
f99e988e7b Bug 406857 - Don't clear referrer when restarting downloads. r=sdwilsh, a1.9=beltzner 2008-02-22 00:35:59 -08:00
edward.lee@engineering.uiuc.edu
1bbeb5f5de Backing out bug 406857 to wait for red to go away. 2008-02-21 22:05:18 -08:00
edward.lee@engineering.uiuc.edu
57197d31b5 Bug 406857 - Don't clear referrer when restarting downloads. r=sdwilsh, a1.9=beltzner 2008-02-21 21:32:17 -08: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
roc+@cs.cmu.edu
24381328f1 Backing out fix for bug 406857 due to win2k3 test failure 2008-02-21 18:04:14 -08:00
edward.lee@engineering.uiuc.edu
1e7d063a59 Bug 406857 - Don't clear referrer when restarting downloads. r=sdwilsh, a1.9=beltzner 2008-02-21 16:17:19 -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
dougt@meer.net
22362e4320 disable download scanner on windows mobile r=bsmedberg, a=beltzner 2008-02-20 14:42:38 -08:00