Commit Graph

343 Commits

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