Bug 299372 - Content-Disposition headers no longer looked at for Save Link As filename. original-patch=dmose
git-svn-id: svn://10.0.0.236/trunk@249030 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9378af0c9a
commit
6779e8b30c
@ -320,7 +320,8 @@ CHBrowserService::Show(nsIHelperAppLauncher* inLauncher, nsISupports* inContext,
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
CHBrowserService::PromptForSaveToFile(nsIHelperAppLauncher* aLauncher, nsISupports *aWindowContext, const PRUnichar *aDefaultFile, const PRUnichar *aSuggestedFileExtension, nsILocalFile **_retval)
|
||||
CHBrowserService::PromptForSaveToFile(nsIHelperAppLauncher* aLauncher,
|
||||
nsISupports *aWindowContext, const PRUnichar *aDefaultFile, const PRUnichar *aSuggestedFileExtension, PRBool aForcePrompt, nsILocalFile **_retval)
|
||||
{
|
||||
NSString* filename = [NSString stringWithPRUnichars:aDefaultFile];
|
||||
NSSavePanel *thePanel = [NSSavePanel savePanel];
|
||||
|
||||
@ -22,7 +22,7 @@ HelperAppDlg.prototype = {
|
||||
aLauncher.saveToDisk( null, false );
|
||||
},
|
||||
|
||||
promptForSaveToFile: function(aLauncher, aContext, aDefaultFile, aSuggestedFileExtension) {
|
||||
promptForSaveToFile: function(aLauncher, aContext, aDefaultFile, aSuggestedFileExtension, aForcePrompt) {
|
||||
|
||||
var result = "";
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user