DescriptionSet the save file type index properly if there was only one file type.
The save file indexes are 1 based, and if there is only one file type
that the page can be saved as (such as a page like foo.com/notes.txt),
the index is set to 0 which will cause a crash.
BUG=15555
(http://crbug.com/15555)
TEST=Go to a web page that is a text file and try to save it. Chrome
should not crash.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20293
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|