Commit Graph

72 Commits

Author SHA1 Message Date
Ehsan Akhgari
7c5a530f5e Bug 508526 - Make gDownloadLastDir smarter; r=mconnor 2009-08-25 13:52:43 +04:30
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
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
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
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
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
Michael Kohler
d58d4ff4ac Bug 442099 - When resetting the defaults, we should use clearUserPref; r=sdwilsh 2009-03-28 03:00:19 +01: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
Dave Townsend
ba2bcfde7c Bug 462338: Make executeSoon widely available. r=robcee, r=gavin 2008-10-30 17:22:17 +00:00
Anoop Saldanha
adb7b1e579 Bug 436553 - Automate litmus test for closing the download manager; r=sdwilsh 2008-09-08 15:06:42 +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
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
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
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
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
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
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
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
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
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
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