summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_util_unittest.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-28 00:48:22 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-28 00:48:22 +0000
commit9117fb714da99c44319cc8e56909d0a48bf7da02 (patch)
tree5d368ab3aab00cd5220a35a86a790b0fac11be02 /chrome/browser/download/download_util_unittest.cc
parentcc14c927a92a73cf31a2c041c71ce235fda71a1c (diff)
downloadchromium_src-9117fb714da99c44319cc8e56909d0a48bf7da02.zip
chromium_src-9117fb714da99c44319cc8e56909d0a48bf7da02.tar.gz
chromium_src-9117fb714da99c44319cc8e56909d0a48bf7da02.tar.bz2
Expand tar.gz download workaround to work for tgz as well.
BUG=52250 TEST=included Review URL: http://codereview.chromium.org/3173048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57760 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_util_unittest.cc')
-rw-r--r--chrome/browser/download/download_util_unittest.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/download/download_util_unittest.cc b/chrome/browser/download/download_util_unittest.cc
index 98064e4..158256b 100644
--- a/chrome/browser/download/download_util_unittest.cc
+++ b/chrome/browser/download/download_util_unittest.cc
@@ -417,6 +417,12 @@ const struct {
"application/x-tar",
L"foo.tar.gz"},
+ // Issue=52250.
+ {"",
+ "http://www.example.com/foo.tgz",
+ "application/x-tar",
+ L"foo.tgz"},
+
// Issue=7337.
{"",
"http://maged.lordaeron.org/blank.reg",