Bug 1187157 - new FormData::get() should return an empty string if the file is not set - part 1, r=smaug

This commit is contained in:
Andrea Marchesini
2016-01-07 09:54:00 +00:00
parent 9e0b88bf43
commit 6333ca6eac
5 changed files with 48 additions and 15 deletions

View File

@@ -5596,7 +5596,6 @@ HTMLInputElement::SubmitNamesValues(nsFormSubmission* aFormSubmission)
// If no file was selected, pretend we had an empty file with an
// empty filename.
aFormSubmission->AddNameFilePair(name, nullptr);
}
return NS_OK;