diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 19:00:07 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 19:00:07 +0000 |
commit | 2078b10421bfcf407d56366e965042dc79f18e80 (patch) | |
tree | 637cc5a9ceccc516c656cfc1901ce7f3d765b310 /content | |
parent | aeaed3b6b3528d636ce4b22f92f072bd91542727 (diff) | |
download | chromium_src-2078b10421bfcf407d56366e965042dc79f18e80.zip chromium_src-2078b10421bfcf407d56366e965042dc79f18e80.tar.gz chromium_src-2078b10421bfcf407d56366e965042dc79f18e80.tar.bz2 |
Re-enable DownloadsApiTest.Downloads
This had three issues which are addressed in this CL:
- The in progress downloads need to be canceled at test shutdown to prevent the browser from bringing up the "Downloads are in progress" prompt at attempted shutdown. This caused the test to periodically timeout.
- The filename validation logic triggered an out-of-bounds check when the filenames were less than 2 characters. The validation was also done even if no filename was specified in the dictionary.
- The download api configuration no longer had HttpHeaders after this was split to multiple files. I added it here.
BUG=109436
TEST=browser_tests --gtest_filter=DownloadsApiTest.Downloads
Review URL: http://codereview.chromium.org/9110042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117463 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
0 files changed, 0 insertions, 0 deletions