mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
Bugs 36789, 22861, and 38827 (all related to downloading files); change xfer component to use nsIFilePicker, handle content-disposition: http response header, and fix a l10n problem; r=slamm
This commit is contained in:
parent
0950cc3ffb
commit
d99640642d
@ -80,7 +80,7 @@ function savePage( url )
|
||||
// When Necko lands, we need to receive the real nsIChannel and
|
||||
// do SelectFileAndTransferLocation!
|
||||
// Use this for now...
|
||||
xfer.SelectFileAndTransferLocationSpec( url, window );
|
||||
xfer.SelectFileAndTransferLocationSpec( url, window, "", "" );
|
||||
}
|
||||
catch( exception ) {
|
||||
// suppress NS_ERROR_ABORT exceptions for cancellation
|
||||
|
Loading…
Reference in New Issue
Block a user