Chromium Code Reviews
DescriptionRe-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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117463
Patch Set 1 #
Total comments: 8
Patch Set 2 : Cancel in JS #Patch Set 3 : Format and includes #
Total comments: 6
Patch Set 4 : Rebase #Patch Set 5 : Fix indentation #Patch Set 6 : Nits #Patch Set 7 : Another rebase #
Messages
Total messages: 14 (0 generated)
|
|||||||||||||||||||||||||||||||||||||