Commit Graph

450 Commits

Author SHA1 Message Date
Gavin Sharp
7b02227e37 Bug 570155: Make the helperApp dialog use the getFileDisplayname helper consistently (fixes a broken #ifdef exposed by bug 569373), and refactor some ifdefs to avoid code duplication, r=Neil
--HG--
extra : rebase_source : d13c45e747021f868ec608db62233fae54868441
2010-06-07 10:31:58 -04:00
Gavin Sharp
11699e815e Bug 569542: fix appPicker.js's getFileDisplayName function, and make all copies of this method identical, r=Neil
--HG--
extra : rebase_source : 23f0da39af75427aaeb02ba32a1a88af3f339230
2010-06-07 10:29:25 -04:00
Neil Rashbrook
45444ab071 Bustage fix for test_DownloadUtils.js now able to QI about:blank to nsINestedURI 2010-06-13 00:56:49 +01:00
Chiaki Ishikawa
b62dc7d109 Bug 559833 - "Should fix incorrect indentation of nsHelperAppDlg.js" [r=paolo]
(transplanted from ceeb7737c4bb57ac4aacb1cc17b8d8c8856de011)

--HG--
extra : transplant_source : %CE%EBw7%C4%BBW%ACJ%AC%B1%CC%17%B8%D8%C8%85m%E0%11
2010-05-25 09:01:00 -04:00
Felipe Gomes
027eb6c1e4 Bug 524811 - "add glowing Firefox icon in the taskbar when downloads are completed" [r=sdwilsh ui-r=beltzner]
--HG--
extra : rebase_source : 53eb7821e75160557ed7d34e66e1fbcefa7bddd3
2010-05-01 09:55:00 -04:00
Gavin Sharp
e4b2f012b9 Bug 565339: don't use non-nsIURL URIs to create moz-icon URIs, r=Neil 2010-05-12 18:32:49 -04:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Paolo Amadini
8e4e0a85a6 Bug 561472 - Add a new DownloadPaths JavaScript module. r=sdwilsh 2010-05-12 12:11:53 +02:00
L. David Baron
91b334e593 Backed out changeset 6b6e9a3c0606 (debugging code for bug 538462) 2010-04-30 17:43:00 -07:00
L. David Baron
3253d21f6e Add some temporary code for debugging bug 538462. a=1hourlimit for metering 2010-04-24 12:34:30 -07:00
Felipe Gomes
6afdda30fc Bug 544356 - Users are often unaware that they have left the Download Mgr window open when exiting. Fix test. 2010-04-22 13:11:55 -07:00
Felipe Gomes
8380405515 Bug 544356 - Users are often unaware that they have left the Download Mgr window open when exiting. r=sdwilsh 2010-04-22 14:56:15 +02:00
Siddharth Agarwal
651f2886ae Bug 474060 - Show download progress in app icon in Windows 7 taskbar. Tests by Felipe Gomes. r=sdwilsh r=mconnor r=sid, sr=vlad, ui-r=faaborg 2010-04-15 00:14:12 +02:00
Reed Loden
80b6841948 s/unkown/unknown/, as I'm tired of reading this typo in orange logs.
--HG--
rename : toolkit/mozapps/downloads/tests/chrome/test_unkownContentType_dialog_layout.xul => toolkit/mozapps/downloads/tests/chrome/test_unknownContentType_dialog_layout.xul
2010-04-07 01:58:59 -05:00
Marco Bonardo
fa71af01e3 Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted 2010-04-01 13:29:13 +02:00
Dão Gottwald
090e521290 Backed out changeset a352d0413476 2010-03-18 23:48:00 +01:00
Siddharth Agarwal
d44b186b73 Bug 474060 - Show download progress in app icon in Windows 7 taskbar, part 2. Test by Felipe Gomes <felipc@gmail.com>. r=sdwilsh
--HG--
extra : rebase_source : e0a037bda886004c681eb38c4ee4b66728c71e23
2010-03-18 19:34:30 +01:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Phil Ringnalda
069b03338e Bug 548189 - Remove embedding/components/ui/, r=bsmedberg
--HG--
extra : rebase_source : b5ce791f2f0ac155e8974f9400d2c8d49956e19f
2010-02-24 00:20:33 -08:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Dão Gottwald
caf1dccaa5 Bug 547224 - Remove the custom emptyText implementation, implement textbox.placeholder using the input field's native placeholder facility. r=enn
--HG--
extra : rebase_source : 50e3996d42073daa4c9f68f8c263b8b8106f3d84
2010-03-04 08:13:27 +01:00
Phil Lacy
39196a6523 Bug 462172: Drag downloaded items from download manager to folders r=enndeakin
--HG--
extra : rebase_source : d51cbf914cf05b7aeb9d1a6b8c8bc7b90d46d26a
2010-02-07 10:44:48 -05:00
Kyle Huey
87966b78d4 Backed out changeset 43a19419ec4b 2010-01-30 09:32:47 -05:00
Phil Lacy
b5bacc4e95 Bug 462172: Drag downloaded items from download manager r=sdwilish,enndeakin 2010-01-30 08:08:37 -05:00
Mitchell Field
09e94f0ad4 Bug 461444: remove cases of excessive recursion in makefiles r=ted
--HG--
rename : toolkit/mozapps/downloads/src/DownloadLastDir.jsm => toolkit/mozapps/downloads/DownloadLastDir.jsm
rename : toolkit/mozapps/downloads/src/DownloadUtils.jsm => toolkit/mozapps/downloads/DownloadUtils.jsm
rename : toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/src/LightweightThemeManager.jsm => toolkit/mozapps/extensions/LightweightThemeManager.jsm
rename : toolkit/mozapps/extensions/src/nsAddonRepository.js => toolkit/mozapps/extensions/nsAddonRepository.js
rename : toolkit/mozapps/extensions/src/nsBlocklistService.js => toolkit/mozapps/extensions/nsBlocklistService.js
rename : toolkit/mozapps/extensions/src/nsExtensionManager.js.in => toolkit/mozapps/extensions/nsExtensionManager.js
rename : toolkit/mozapps/extensions/public/nsIAddonRepository.idl => toolkit/mozapps/extensions/nsIAddonRepository.idl
rename : toolkit/mozapps/extensions/public/nsIExtensionManager.idl => toolkit/mozapps/extensions/nsIExtensionManager.idl
rename : toolkit/mozapps/handling/src/nsContentDispatchChooser.js => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/shared/src/CertUtils.jsm => toolkit/mozapps/shared/CertUtils.jsm
rename : toolkit/mozapps/shared/src/FileUtils.jsm => toolkit/mozapps/shared/FileUtils.jsm
2010-01-27 11:16:53 -08:00
Dão Gottwald
eedab600f6 Bug 538462 - Attempt to fix frequent Mac-debug-only leaks of two DOMWINDOWs opened in test_unkownContentType_dialog_layout.xul. r=sdwilsh 2010-01-09 11:31:16 +01:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Ehsan Akhgari
6c703b7823 Add some comments for bug 528416 2009-11-23 19:24:13 -05:00
Ehsan Akhgari
8494e4dfee Bug 526194 - r=vlad
--HG--
extra : rebase_source : 410c69341dab86377f94026709c3aa1f13c36a6d
2009-11-17 15:01:15 -05:00
Ehsan Akhgari
832b7b21db Bug 528416 - Download Directory Persists After "Clear Recent History"; r=gavin ui-r=faaborg
--HG--
extra : rebase_source : a5856e02bc394b7359b507d9a40e05d59a114155
2009-11-16 20:14:28 -05:00
Jae-Seong Lee-Russo
6e09b9e50a Toolkit tests that fail in js strict mode.
Bug 524781 - xpcshell-tests: turn on strict & werror by default.
r=benjamin.
2009-11-15 12:20:35 +01:00
Benjamin Smedberg
84ca94bd21 Bug 527058 - nsHelperAppDlg.js shouldn't do delayed registration, r=sdwilsh 2009-11-06 14:06:49 -05:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Gijs Kruitbosch
58e8eebec2 Prepare callsites of clearUserPref so it can go back to throwing. r=gavin 2009-10-28 22:44:15 +01:00
timeless@mozdev.org
1986c2c297 Bug 489994 - Downloads list should honor always remember helper application, r=mconnor 2009-10-26 18:39:23 -07:00
Neil Deakin
c0f8d0fac2 Bug 517819, inherit noinitialfocus into textbox inputs, so that uthe nknown content dialog can use it, prevents focus from appearing on the file type field, r=neil 2009-10-16 10:32:02 -04:00
Paul O’Shannessy
bdc91e26b2 Bug 518608 - Download Manager Storage usage changes: Don't create statement wrapper & don't use step(). r=sdwilsh
--HG--
extra : rebase_source : 201aab379506521c18620782ea79a7f9cd0e1597
2009-09-25 15:34:44 -07:00
Neil Deakin
53beea033a Bug 506175, make some more tests use waitForFocus, r=sdwilsh 2009-09-09 09:04:13 -04:00
Ehsan Akhgari
7c5a530f5e Bug 508526 - Make gDownloadLastDir smarter; r=mconnor 2009-08-25 13:52:43 +04:30
Jim Mathies
1c5c10ff35 Bug 504804 - Virus scanning prefs cleanup and smarter integration with win policy settings. r=tellrob, r=sdwilsh. 2009-08-11 12:37:38 -05:00
Robert Strong
6da73d93fc Bug 507481 - [WinCE] Check for Windows version in download manager shouldn't be done for Windows CE. r=sdwilsh 2009-08-10 19:58:54 -07:00
Julien Danjou
f80454e7d2 Bug 422196. Fix badApp string in download helper. r=bsmedberg 2009-08-04 10:00:30 +12:00
Nochum Sossonko
b572a6bbfa Bug 506104 - add a memoized getter for PluralForm.jsm inside DownloadUtils.jsm. r=gavin 2009-07-30 20:40:54 +02:00
Shawn Wilsher
649c4ac70a Bug 498805 - test_esc_key_closes_clears.xul fails intermittently on Linux
Focus the window before actually doing anything with the test so key events work
right.  Also fix all other download manager tests so they don't start going
random as well.
r=Mardak
2009-07-13 14:59:09 -07:00
Dão Gottwald
2393c97c87 Bug 500978 - Download Manager treats search terms as regular expressions. r=sdwilsh 2009-06-28 18:03:01 +02:00
Neil Deakin
b4eb2b3ac6 Bug 499438, focus window so that test_close_download_manager.xul doesn't fail on Linux, r=sdwlish 2009-06-26 07:29:44 -04:00
Neil Deakin
2737a14b5e Bug 456106, use new drag and drop api in browser and toolkit, r=mano 2009-06-20 20:04:07 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Marco Perez
7c4fc6bd02 Bug 495583 - [SeaMonkey] Remove SUITE_USING_XPFE_DM remnants; r=neil 2009-05-31 04:42:02 +02:00
Robert Kaiser
5d71b37bbe bug 495629 - also fix test_backspace_key_removes.xul (Mac-only) to work with SeaMonkey, r=sdwilsh 2009-05-30 19:48:03 +02:00
Mark Banner
c3ead29d1e Fix test bustage for non-Firefox apps caused by bug 464795 - copy and paste try/catch for private browsing check into test which had got missed, test-only change 2009-05-25 10:20:39 +01:00
Ehsan Akhgari
e59c47a95e Bug 464795 - Persist "save as" directory during private browsing, but restore previous value after (tests); r=gavin 2009-04-23 20:00:25 +04:30
Hiroyuki Ikezoe
c1ca6df2bf Bug 487559. Don't build tests if tests are disabled. r=ted
--HG--
extra : rebase_source : 7abf6b362d7bee0a91e9e16ce97214d4b7f4c843
2009-05-13 22:17:45 +12:00
Edward Lee
0646202e19 Bug 448344 - Download manager says "1 minute remaining" when it's really between 1 and 2 minutes. r=sdwilsh, ui=limi
Show seconds when we're under 4 minutes like how we show "few seconds" when we're under 3 seconds. This pushes the "double minute" problem to 4 minutes instead of 1 minute, but the user experience goes from 100% longer to 25% longer. Test by checking low times for seconds, minutes, hours and check that we generate the right string for the boundaries.
2009-05-12 22:04:10 -05:00
Robert Kaiser
e5e74146dc bug 483781 - make tests that require the toolkit dlmgr UI not fail with new SeaMonkey dlmgr UI work, r=sdwilsh 2009-05-08 13:46:36 +02:00
Ehsan Akhgari
be351e6741 Backed out changeset c319b49e2880 due to test failures 2009-04-19 14:20:55 +03:30
Ehsan Akhgari
0f7a8913b6 Bug 464795 - Persist "save as" directory during private browsing, but restore previous value after (tests); r=gavin 2009-04-19 12:18:13 +03:30
Dão Gottwald
88eef4436f Bug 488006 - cocoa-size="small" should be a platform-independent class instead. r=enn 2009-04-13 19:40:00 +02:00
Dão Gottwald
2b158c4a2f Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2009-04-10 10:24:24 +02:00
Ehsan Akhgari
0b8a9af0c4 Bug 486655 - test_privatebrowsing_title.xul fails on Windows and Linux; r=edilee 2009-04-03 19:47:31 +03:30
Gavin Sharp
bc0096d360 Disable test since it appears to be broken, and is failing intermittently (bug 483200) 2009-03-28 02:54:46 -04:00
Ehsan Akhgari
36e86d63df Bug 485187 - Rename gDownloadLastDir.path to gDownloadLastDir.file and gDownloadLastDirPath to gDownloadLastDirFile; r=gavin 2009-03-28 11:20:36 +03:30
Michael Kohler
d58d4ff4ac Bug 442099 - When resetting the defaults, we should use clearUserPref; r=sdwilsh 2009-03-28 03:00:19 +01:00
Robert Strong
5bf4831cc7 Bug 484013 - Unknown content type dialog cut off. r=dao 2009-03-19 12:25:48 -07:00
Ehsan Akhgari
e410f319d6 Bug 464800 - Download manager title window is not cleared when switching to Private Browsing; r=sdwilsh 2009-03-19 21:12:27 +03:30
Ehsan Akhgari
7d88172665 Backed out changeset 69322c1764ff (bug 464800) due to test failures on Mac 2009-03-12 13:37:40 +03:30
Ehsan Akhgari
c768114b78 Bug 464800 - Download manager title window is not cleared when switching to Private Browsing; r=sdwilsh 2009-03-12 12:28:17 +03:30
Ehsan Akhgari
f6cd477e73 Bug 464795 - Persist "save as" directory during private browsing, but restore previous value after (follow-up fix); r=gavin 2009-03-12 12:27:53 +03:30
Anton Samson
6a13897ac8 Bug 374189; hotkey conflict on linux download manager; r+ui-r=mconnor 2009-02-25 16:25:28 +01:00
Rob Campbell
1656c32808 Bug 477591 - missing semi-colon in DownloadUtils.jsm. r=gavin 2009-02-09 11:40:15 -06:00
Steve
8546f8bf8a Bug 326228 - No error message when download manager tried to store file in folder with insufficent access rights. r=sdwilsh, ui=madhava 2009-02-07 00:41:30 -06:00
Marco Zehe
ae20bb4203 bug 469367 - Add ARIA semantics to those search widget types that don't have a Search button, r=dao, r=surkov 2009-02-02 10:38:53 +01:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Markus Stange
34a4a8cfe6 Bug 473233 - Application dropdown in download dialog is stretched, r=dao 2009-01-18 12:06:34 +01:00
Ehsan Akhgari
7e27b6ead9 Bug 464795 - Persist "save as" directory during private browsing, but restore previous value after; r=gavin 2009-01-13 21:30:05 +03:30
Shawn Wilsher
708706c323 Bug 429827 - Download manager does not warn when its download location does not exist or is write protected
r=Mardak
2009-01-08 15:17:53 -05:00
Michael Ventnor
50e114a822 Bug 416466 - "Extra useless option in file handling options" [r=myk] 2008-12-12 15:49:52 -08:00
Markus Stange
6ba1cc8b6f Bug 450800 - Style new search widgets on Mac OS X, CSS changes. r=dao 2008-12-06 12:41:29 +01:00
Ehsan Akhgari
afff8329d0 Bug 463888 - Do not persist the "Save As" location in private browsing mode; r=gavin, a=blocking-firefox3.1+ 2008-11-14 02:04:41 +03:30
Ehsan Akhgari
4cbd3dd215 Bug 463885 - Entering the Private Browsing mode may not always empty the download manager list; r=sdwilsh, a=blocking1.9.1+ 2008-11-12 23:43:12 +03:30
Shawn Wilsher
88f4a312eb Bug 462964 - nsIDownloadManager should have removeDownloadsByTimeframe
r=mconnor
2008-11-05 18:39:24 -05:00
Ehsan Akhgari
0cd9741967 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [downloadmgr part]; r=sdwilsh 2008-11-04 02:52:21 +03:30
Dave Townsend
ba2bcfde7c Bug 462338: Make executeSoon widely available. r=robcee, r=gavin 2008-10-30 17:22:17 +00:00
Jim Mathies
4ba1e76c42 Bug 426544 - Disable browser.download.manager.alertOnEXEOpen and set internet zone bit on all downloaded files; v3; r=sdwilsh 2008-10-29 05:53:30 +01:00
Markus Stange
24c418dbdf Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Anoop Saldanha
adb7b1e579 Bug 436553 - Automate litmus test for closing the download manager; r=sdwilsh 2008-09-08 15:06:42 +02:00
HÃ¥kan Waara ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
1652f1d792 Bug 422511 - "Open with 'TextEditor.app'" Should be "Open with 'TextEditor'"
This changeset gets an application bundle's name instead of the bundle's file
name on OS X.
Original patch by HÃ¥kan Waara, updated by Shawn Wilsher.
Original patch r=sdwilsh, sr=biesi
Updated patch r=hwaara, sr=biesi
2008-09-03 12:22:16 -04:00
RIVAUD Julien (_FrnchFrgg_)
6b8d344fb7 Bug 420595 - Change the acceptButton icon to a "save" one when there is no choice. r=sdwilsh
Bug 420595 - "you have chosen to open" dialog uses wrong icon
When we present the basic choice for actions in the download helper
window, the accept button has the only effect of saving; thus we
should change the icon from "OK" to "Save".
2008-08-13 08:53:09 +02:00
Dão Gottwald
0055cc6179 Bug 405892 – Finish polish of the download manager search field. r=sdwilsh 2008-08-05 23:33:41 +02:00
Edward Lee
75104b0fa0 Bug 448583 - remove isNil function from DownloadUtils.jsm. r=sdwilsh 2008-08-01 15:10:10 -07:00
Anoop Saldanha (Poona) ext:(%2C%20Shawn%20Wilsher%20%3Csdwilsh%40shawnwilsher.com%3E)
f55d3652d7 Bug 437422 - Automate litmus test for testing search and clear list.
r=sdwilsh
2008-07-27 16:59:40 -04:00
Anoop Saldanha (Poona)
da7bdd4cf1 Bug 445021 - Add more functions in DM's utils.js for chrome tests.
This adds a number of common functions to the utils.js file used by the download
manager chrome tests.
r=sdwilsh
2008-07-27 14:40:15 -04:00
Sylvain Pasche
a986d8a19c Bug 445005 - "Would you like to save..." label now shown on unknownContentType popup
This also adds a test to ensure that the unkownContentType dialog displays the
right information with given files.
r=gavin, r=sdwilsh
2008-07-17 12:29:15 -04:00
Robert Kaiser
7267233b08 bug 440932 - toolkit dlmgr should be buildable by suite, supplemantal patch for including config.mk early enough, r=ted 2008-07-06 22:37:07 +02: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
495bd4d3a4 Bug 441936 - accel + K should focus find field
This makes accel + K focus the search/find field in the download manager for all
toolkit consumers that use the built in download manager.
r=mconnor
2008-06-27 12:07:19 -04:00
Shawn Wilsher
7aa9c26bc9 Bug 441716 - test_retention_is_0_closes.xul is flakey on linux
The test now listens for a "domwindowclosed" notification from the window
watch service instead of using a timer which is unreliable.  Upon receiving the
notification, it dispatches an event to the main thread to perform the proper
checks to allow time for any other events listening to that topic to process.
This also adds a utils.js file that download manager chrome tests can use.  So
far, only one function has been added that will execute a function on the main
thread; executeSoon.
r=gavin
2008-06-27 11:59:14 -04:00
Justin Wood
bb9d930183 Bug 440932 - toolkit dlmgr should be buildable by suite; r=ted, sr=NeilAway 2008-06-25 21:12:25 -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
Shawn Wilsher
9965f93d2f Bug 438998
This changes the anonymous functions in DownloadProgressListener.js to named
functions so that tools like dtrace and JS debuggers actually know what is
being called so they can do something useful.
r=Mossop
2008-06-13 11:44:30 -04:00
Shawn Wilsher
6511ccbaa7 Bug 438993
This makes the anonymous functions in DownloadUtils.jsm into non-anonymous ones
so things like dtrace and JS debuggers know where they are actually at instead
of having no idea.
r=Mossop
2008-06-13 11:44:13 -04:00
Shawn Wilsher ext:(%2C%20Edward%20Lee%20%3Cedward.lee%40engineering.uiuc.edu%3E)
0773365035 Bug 437302
Tests that don't depend on the browser should be chrome tests
r=Mardak

--HG--
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_411172_mac.js => toolkit/mozapps/downloads/tests/chrome/test_backspace_key_removes.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_basic_functionality.js => toolkit/mozapps/downloads/tests/chrome/test_basic_functionality.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_429247.js => toolkit/mozapps/downloads/tests/chrome/test_bug_429247.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_cleanup_search.js => toolkit/mozapps/downloads/tests/chrome/test_cleanup_search.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_411172.js => toolkit/mozapps/downloads/tests/chrome/test_delete_key_removes.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_416303.js => toolkit/mozapps/downloads/tests/chrome/test_esc_key_closes_clears.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_multi_select.js => toolkit/mozapps/downloads/tests/chrome/test_multi_select.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_multiword_search.js => toolkit/mozapps/downloads/tests/chrome/test_multiword_search.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_410289.js => toolkit/mozapps/downloads/tests/chrome/test_pause_button_state.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_394039.js => toolkit/mozapps/downloads/tests/chrome/test_removeDownload_updates_ui.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_413093.js => toolkit/mozapps/downloads/tests/chrome/test_retention_is_0_closes.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_search_clearlist.js => toolkit/mozapps/downloads/tests/chrome/test_search_clearlist.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_select_all.js => toolkit/mozapps/downloads/tests/chrome/test_select_all.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_413985.js => toolkit/mozapps/downloads/tests/chrome/test_space_key_pauses_resumes.xul
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_397935.js => toolkit/mozapps/downloads/tests/chrome/test_ui_stays_open_on_alert_clickback.xul
2008-06-11 11:06:39 -04:00
Dão Gottwald
788833b26d Bug 437646
make use of :nth-child in the download list, remove stripeifyList()
r=sdwilsh
2008-06-11 10:11:14 -04:00
Edward Lee
4943c4e435 Bug 419691 - Get multiword search testcase working on windows. r=sdwilsh 2008-06-07 16:29:38 -07:00
Nochum Sossonko
91304d0cf2 Bug 429247
Double-clicking on empty white space in the Download Manager activates the currently selected item
r=sdwilsh
2008-06-04 11:05:09 -04:00
edward.lee@engineering.uiuc.edu
33ab985b80 Bug 431188 - Clear list active / inactive state not working properly. r=sdwilsh, a1.9=beltzner 2008-05-06 16:25:36 -07:00
kairo@kairo.at
a8b1834668 bug 431453 - Make browser-chrome mochitests pass on SeaMonkey: make some platform tests Firefox-only or non-SeaMonkey (as applicable), r=smontagu for docshell, r=dwitte for cookie, r=gavin for dlmgr, a1.9=damons for platform tests; make SeaMonkey sanitizer tests pass, sr=Neil 2008-05-02 06:13:19 -07:00
edward.lee@engineering.uiuc.edu
88e1f673ec Bug 430486 - Clear List button doesn't disable when it should. r=sdwilsh, r=mconnor, ui-r=mconnor, a1.9=mconnor. Fixes Bug 430597 - New clearListButton does not accomodate larger fonts 2008-04-24 22:59:31 -07:00
edward.lee@engineering.uiuc.edu
bc05f2d225 Bug 400495 - Add "Clear List" button to download manager. r=mconnor, ui-r=beltzner, ui-r=mconnor, b-ff3=beltzner, a1.9=mconnor 2008-04-22 20:57:05 -07:00
edward.lee@engineering.uiuc.edu
1574b4d209 Fix testcase for bug 429614 to check platform (cmd-a vs ctrl-a) 2008-04-19 01:47:09 -07:00
edward.lee@engineering.uiuc.edu
be272ae0e4 Bug 429614 - add select all keyboard shortcut and context menu item to download manager. p=beltzner, r=sdwilsh, r=Mardak, ui-r=mconnor, a1.9=mconnor 2008-04-19 00:36:39 -07:00
mozilla.mano@sent.com
a41e0911c9 Bug 420405 - Download triggered by <iframe src=...exe> fails if containing page has refreshed. r+a=mconnor. 2008-04-18 11:08:00 -07:00
edward.lee@engineering.uiuc.edu
224482cf75 Bug 429144 - If downloaded file is removed, but saved dir still exists, then "Open Containing Folder" menu item should be disabled. r=sdwilsh, a1.9=beltzner 2008-04-15 22:28:59 -07:00
edward.lee@engineering.uiuc.edu
4c5b079d80 Bug 426983 - Make the download option Clear List always available. r=sdwilsh, a1.9=beltzner 2008-04-12 12:42:03 -07:00
edward.lee@engineering.uiuc.edu
be7f2c274f Update testcase for bug 406857 using bug 425753 notification 2008-04-09 10:34:32 -07:00
edward.lee@engineering.uiuc.edu
ddc6189578 Bug 228842 - Allow multiple selections in Download Manager. r=sdwilsh, a1.9=beltzner 2008-04-08 22:33:39 -07:00
edward.lee@engineering.uiuc.edu
f1b5a0bf87 Re-disable test for windows 2008-04-05 22:47:30 -07:00
edward.lee@engineering.uiuc.edu
f32db9996f Bug 425753 - Send notification when download manager finishes building the list. r=sdwilsh, a1.9=beltzner 2008-04-05 21:26:18 -07:00
reed@reedloden.com
aa19a372c7 Bug 424547 - "Fix strings so they are more descriptive from bug 416683" [p=jmathies@mozilla.com (Jim Mathies) r=sdwilsh ui-r+a1.9=beltzner] 2008-04-04 00:08:24 -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
dolske@mozilla.com
1b346b4adc Bug 299372 - Content-Disposition headers no longer looked at for Save Link As filename. original-patch=dmose, r=mconnor, r=biesi, a=blocking-ff3+ 2008-04-02 20:02:08 -07:00
edward.lee@engineering.uiuc.edu
403a848b2a Land testcase for bug 397935. r=sdwilsh 2008-03-27 11:22:06 -07:00
dbaron@dbaron.org
0ba7646d32 Make the download manager tests remove their temporary files, and rename the prefix they use to work around the Mac unit test machine having filled up all of dmuitest.file through dmuitest-9999.file in its temp dir. rs=sdwilsh a=tests+orange 2008-03-21 20:57:47 -07:00
edward.lee@engineering.uiuc.edu
4e8a61dfba More bustage fix for bug 416683. r=sdwilsh 2008-03-21 19:03:01 -07:00
edward.lee@engineering.uiuc.edu
421fa9ed67 Bustage fix for bug 416683 2008-03-21 18:55:51 -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
5c36caeb58 Bug 411214 - "New MIME type set with "Do this automatically ..." fails to locate helper app" [p=jmathies@mozilla.com (Jim Mathies) r=sdwilsh a1.9=beltzner] 2008-03-19 23:09:02 -07:00
edward.lee@engineering.uiuc.edu
248ae6dccf Bug 420482 - Big discrepancy in ETA between Downloads Manager & Downloads status bar panel. r=sdwilsh, b-ff3=beltzner 2008-03-18 11:01:39 -07:00
edward.lee@engineering.uiuc.edu
2f260f9c63 Bug 414850 - "Clear List" in download manager should only remove visible downloads. r=sdwilsh, a1.9=beltzner 2008-03-18 10:59:27 -07:00
edward.lee@engineering.uiuc.edu
d60abf1895 Bug 403412 - Download Manager window title fails to clear/update upon download completion. r=sdwilsh, a1.9=beltzner 2008-03-18 10:57:26 -07:00
dolske@mozilla.com
aab42d0740 Backing out bug 420595 due to causing bug 422585. r=sdwilsh. 2008-03-13 15:58:15 -07:00
mattwillis@gmail.com
2ac0c39bd4 Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons 2008-03-12 14:56:59 -07:00
edward.lee@engineering.uiuc.edu
5cc36da189 Bug 413093 - With "Remember what I've download" disabled/unchecked (browser.download.manager.retention set to 0), the Download Manager window remains open until clicked/focused. p=sdwilsh, r=Mardak, b-ff3=beltzner 2008-03-11 14:34:19 -07:00
reed@reedloden.com
6aac76c268 Bug 420595 - ""you have chosen to open" dialog uses wrong icon" (Change the accept button icon to a save one when the only choice is "save") [p=frnchfrgg-mozbugs@altern.org (RIVAUD Julien [_FrnchFrgg_]) r=sdwilsh a1.9=damons] 2008-03-11 01:11:08 -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
reed@reedloden.com
2a6fde4795 Back out not completely reviewed changes from bug 326228. 2008-03-08 02:06:10 -08:00
reed@reedloden.com
d6296c455b Bug 326228 - "No error message when download manager tried to store file in folder with insufficent access rights" [p=steveisok1@yahoo.com (Steve) ui-r=madhava r=sdwilsh a1.9=beltzner a=blocking-firefox3+] 2008-03-08 02:04:05 -08:00
edward.lee@engineering.uiuc.edu
de4eadb545 Disable bug 419403 test on windows. r=sdwilsh 2008-02-26 11:19:39 -08:00
edward.lee@engineering.uiuc.edu
15c83f4737 Bustage fix for bug 419403 - do more timeouts 2008-02-26 10:42:47 -08:00
edward.lee@engineering.uiuc.edu
7b954899d4 Bug 419403 - Pimp My Download Manager Search! (multi word, match any text). r=sdwilsh, a1.9=beltzner 2008-02-26 09:52:17 -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
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
dbaron@dbaron.org
cd8717f447 Call cancel() if we can't show the helper app dialog, so we break cycles, avoid leaks, and don't continue doing the download. b=417949 sr=bzbarsky r=gavin.sharp a=schrep 2008-02-20 08:30:21 -08:00
sdwilsh@shawnwilsher.com
9e75050e9c Bug 402452 - Some download manager preferences should be assumed, not required. r=Mardak, r=mfinkle, a=schrep 2008-02-08 14:22:35 -08:00
edward.lee@engineering.uiuc.edu
cb6f4df180 Bug 414486 - Lazily load stringbundle and lazily load strings for DownloadUtils. r=sdwilsh, a1.9=schrep 2008-02-07 00:11:53 -08:00
reed@reedloden.com
ea927e60f2 Bug 392890 - "Provide a text label for the Search edit in Download Manager" [p=dao@mozilla.com (Dão Gottwald) r=Mardak a=blocking-firefox3+] 2008-02-06 21:29:30 -08:00
sdwilsh@shawnwilsher.com
155e62dc44 Test for Bug 413985 2008-01-28 09:42:51 -08:00
sdwilsh@shawnwilsher.com
03bc762353 Bug 411521 - EventUtils.synthesize* doesn't allow you to specify a window. r=Enn 2008-01-28 09:12:17 -08:00
edward.lee@engineering.uiuc.edu
10b22b8430 Bustage fix. Bug 405720 - Strange message with download manager for file with unknown filesize. rs=sdwilsh 2008-01-26 23:53:31 -08:00
reed@reedloden.com
4ef5b3dec1 Bug 413493 - "Incorrect naming of label and accesskey" [p=valastiak@mozilla.sk (Vlado Valastiak [wladow]) r=sdwilsh a1.9=beltzner] 2008-01-26 21:05:18 -08:00
edward.lee@engineering.uiuc.edu
a8d1064b2f Bug 414157 - Fix javascript strict warning undeclared variable status in DownloadUtils.jsm. r=sdwilsh, a1.9=beltzner 2008-01-26 21:04:14 -08:00
sdwilsh@shawnwilsher.com
3e117c89f2 Bug 413985 - Space key for pause/resume doesn't work (never did). Patch by Simon Bünzli <zeniko@gmail.com>. r=sdwilsh, a=beltzner 2008-01-26 19:28:32 -08:00
edward.lee@engineering.uiuc.edu
963a471a42 Bug 409314 - Default download manager size should be golden (485x300). r=sdwilsh, a1.9=schrep 2008-01-26 13:04:49 -08:00
edward.lee@engineering.uiuc.edu
8e7c2034ba Bug 405720 - Strange message with download manager for file with unknown filesize. r=sdwilsh, a1.9=schrep, b-ff3=mconnor 2008-01-26 13:02:32 -08:00
edward.lee@engineering.uiuc.edu
f41f595ac1 Bug 414105 - PluralForm messages show up in Error Console when downloading. r=sdwilsh, a1.9=schrep 2008-01-26 13:00:22 -08:00
florian@queze.net
f264c6bbc5 Bug 410938 - Make 'choose app to open with' changeable. r=mconnor, ui-r=beltzner, a=blocking1.9+ 2008-01-25 23:23:39 -08:00
edward.lee@engineering.uiuc.edu
68abc4ac8f Bug 394516 - Figure out a remaining-time rounding scheme for minutes -> hours/days. r=sdwilsh, r=l10n@mozilla.com (Pike), b-ff3=beltzner 2008-01-22 18:18:24 -08:00
edward.lee@engineering.uiuc.edu
9d19fe677e Bug 394516 - Figure out a remaining-time rounding scheme for minutes -> hours/days. r=sdwilsh, b-ff3=beltzner 2008-01-22 18:15:08 -08:00
sdwilsh@shawnwilsher.com
81853605dd Bug 410289 - Do not allow the pausing of downloads that cannot actually be resumed. r=Mardak 2008-01-21 19:43:02 -08:00
sdwilsh@shawnwilsher.com
96913d2ccb Test for Bug 394039 2008-01-10 20:58:51 -08:00
sdwilsh@shawnwilsher.com
3aa8755e99 Bug 411172 tests 2008-01-10 20:22:36 -08:00
sdwilsh@shawnwilsher.com
3863f8edb6 Disable failing test (the test is wrong, not the code) 2008-01-09 20:26:23 -08:00
sdwilsh@shawnwilsher.com
332485ce4f Bug 411172 - del key does not remove files from the download manager anymore. This is just a test. 2008-01-09 19:28:35 -08:00
sdwilsh@shawnwilsher.com
80a61807c8 Bug 411172 - del key does not remove files from the download manager anymore. Patch by Elmar Ludwig <elmar.ludwig@uos.de>. r=sdwilsh 2008-01-09 19:27:47 -08:00
rflint@ryanflint.com
6c26223972 Close DM window when test completes. No bug, test-only change 2008-01-08 23:55:55 -08:00
rflint@ryanflint.com
8542afa78a Revert unnecessary changes from bug 410894. r=sdwilsh, a=brendan 2008-01-08 21:43:36 -08:00
rflint@ryanflint.com
52ae2518a5 Fix tests for bug 410894 and reenable them. r=sdwilsh 2008-01-08 21:38:16 -08:00
rflint@ryanflint.com
2d870ca636 Disable this test due to failures on windows 2008-01-08 18:17:38 -08:00
rflint@ryanflint.com
5bd596e097 Test for bug 410894. Patch by Shawn Wilsher <comrade693+bmo@gmail.com>, r=gavin 2008-01-08 17:14:54 -08:00
sdwilsh@shawnwilsher.com
7bd97ab9a3 Bug 392293 - The disabled state of the mini-buttons in DM is not handled correctly. r=Mardak, r=Mano 2008-01-06 16:14:00 -08:00
rflint@ryanflint.com
ec4627dd64 Bug 410894 - download manager is empty. r=dtownsend, a=serious_regression_that's_surely_blocking_with_trivial_fix 2008-01-05 02:24:41 -08:00
edward.lee@engineering.uiuc.edu
d6177d4d02 Bug 410100 - Cannot open file from download manager after searching. r=sdwilsh, a1.9=mconnor 2007-12-31 18:28:20 -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
edward.lee@engineering.uiuc.edu
16d4dc2204 Bug 409326 - Complement eTLD+1 status with a full host tooltip. r=sdwilsh, a1.9=beltzner 2007-12-26 15:37:13 -08:00
edward.lee@engineering.uiuc.edu
30e67a7e23 Bug 408745 - Download Manager clobbers the UI thread and is slow to respond when updating its list. r=sdwilsh, a1.9=mconnor 2007-12-21 19:45:54 -08:00
edward.lee@engineering.uiuc.edu
8eee38bfa7 Bug 409317 - Download date/time should show the full date and time as a tooltip. r=sdwilsh, a1.9=beltzner 2007-12-21 15:18:05 -08:00
edward.lee@engineering.uiuc.edu
3b72663d3c Bug 409105 - Just finished download shows start time instead of completed time. r=sdwilsh, a1.9=beltzner 2007-12-21 15:12:34 -08:00
edward.lee@engineering.uiuc.edu
2fee5756f1 Bug 409311 - I see beach ball instead of download manager. r=sdwilsh, a1.9=beltzner 2007-12-21 14:58:07 -08:00
edward.lee@engineering.uiuc.edu
fb44454286 Bug 408696 - Don't show leading 0 for download dates. r=sdwilsh, a1.9=beltzner 2007-12-21 14:55:56 -08:00
edward.lee@engineering.uiuc.edu
3d3f54cc6b Backout bug 408696 to fix ui bustage. a=jesse 2007-12-18 22:49:41 -08:00
edward.lee@engineering.uiuc.edu
f221c8b170 Bug 408565 - Menu items "Open Containing Folder" / "Show in Finder" shouldn't be grayed out for in-progress/paused downloads. r=sdwilsh, a1.9=beltzner 2007-12-18 11:56:09 -08:00
edward.lee@engineering.uiuc.edu
1f823d75ad Bug 405886 - Remove the "Open File" button at the right of every download row. r=sdwilsh, b-ff3=mconnor 2007-12-18 00:51:57 -08:00
edward.lee@engineering.uiuc.edu
dc2e05f1f6 Bug 408350 - Enter/return on downloads should do the same as double click. r=sdwilsh, a1.9=mconnor 2007-12-18 00:49:36 -08:00
edward.lee@engineering.uiuc.edu
fba824a156 Bug 408351 - Double click download should do default action (first item in menu). r=sdwilsh, a1.9=schrep 2007-12-18 00:47:48 -08:00
edward.lee@engineering.uiuc.edu
5fc1b7453b Bug 405893 - Search should match TLDs as well as download file names. r=sdwilsh, b-ff3=mconnor 2007-12-17 22:05:39 -08:00
edward.lee@engineering.uiuc.edu
06bbbc69cd Bug 405888 - Remove the "Information" button at the right of every download row. r=sdwilsh, a1.9=mconnor 2007-12-17 11:10:46 -08:00
edward.lee@engineering.uiuc.edu
4e5ecef2a6 Bug 408696 - Don't show leading 0 for download dates. r=mconnor, a1.9=mconnor 2007-12-17 11:08:11 -08:00
edward.lee@engineering.uiuc.edu
ec18667a32 Bug 408500 - Refactor displayHost logic into getDisplayHost. r=sdwilsh, r=dwitte, a1.9=mconnor 2007-12-15 20:21:48 -08:00
edward.lee@engineering.uiuc.edu
3eb0ad3842 Bug 392097 - only showing 7 days of download history, until I search, then I see more items. r=sdwilsh, b-ff3=beltzner 2007-12-15 17:35:38 -08:00
edward.lee@engineering.uiuc.edu
aec015afe9 Bug 403674 - Implement "Go to Source Location" for the context-menu items. r=sdwilsh, b-ff3=mconnor, p=om.brahmana@gmail.com (Brahmana) 2007-12-15 17:11:27 -08:00