Commit Graph

130 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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