diff options
author | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 17:29:24 +0000 |
---|---|---|
committer | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 17:29:24 +0000 |
commit | 54d8d45198e73c705030f2bb9cb67d91808141e6 (patch) | |
tree | 47fcc663e85cc90ff47ac60b8051772ceabcccf0 /chrome/browser/download/download_manager_unittest.cc | |
parent | a21c2a2b0c601edec15d4b4a90d111c9df638146 (diff) | |
download | chromium_src-54d8d45198e73c705030f2bb9cb67d91808141e6.zip chromium_src-54d8d45198e73c705030f2bb9cb67d91808141e6.tar.gz chromium_src-54d8d45198e73c705030f2bb9cb67d91808141e6.tar.bz2 |
Fix issue 7337, where a file of mime type "text/x-registry" with extension "reg" was getting saved with extension "download" instead.
Issue=7337
Review URL: http://codereview.chromium.org/58007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13361 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_manager_unittest.cc')
-rw-r--r-- | chrome/browser/download/download_manager_unittest.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/download/download_manager_unittest.cc b/chrome/browser/download/download_manager_unittest.cc index d3b1506..f1fea31 100644 --- a/chrome/browser/download/download_manager_unittest.cc +++ b/chrome/browser/download/download_manager_unittest.cc @@ -313,12 +313,18 @@ const struct { "image/jpeg", L"download.jpg"}, - // For bug 5772 + // Issue=5772. {"", "http://www.example.com/foo.tar.gz", "application/x-tar", L"foo.tar.gz"}, + // Issue=7337. + {"", + "http://maged.lordaeron.org/blank.reg", + "text/x-registry", + L"blank.reg"}, + {"", "http://www.example.com/bar.tar", "application/x-tar", |