зеркало из https://github.com/mozilla/pjs.git
Bug 510670: have the nsIWebBrowserPersist used for some drops automatically detect the need for content converters (fixes dropping of images served gzipped on Mac), r=bz
--HG-- rename : browser/base/Makefile.in => browser/modules/Makefile.in extra : rebase_source : 41d0502e968cdf7b624547cb9e993591ed06ec98
This commit is contained in:
Родитель
074861b9b3
Коммит
b3ab1ffdd7
|
@ -215,6 +215,8 @@ nsContentAreaDragDropDataProvider::SaveURIToFile(nsAString& inSourceURIString,
|
|||
&rv);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
persist->SetPersistFlags(nsIWebBrowserPersist::PERSIST_FLAGS_AUTODETECT_APPLY_CONVERSION);
|
||||
|
||||
return persist->SaveURI(sourceURI, nsnull, nsnull, nsnull, nsnull, inDestFile);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче