Handle the 'cancel' case on attach a file.
If the user selects a file, then selects a file again and hits cancel, we should handle it correctly and clear the attached file. Currently this tries to read the empty file and causes a JS exception.


R=csilv@chromium.org
BUG=167821
TEST=Open feedback page, attach a file, attach a file again but cancel. Verify the report can still be sent and the originally attached file is not sent with it.


Review URL: https://chromiumcodereview.appspot.com/11969051

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177644 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed