Index: chrome/test/chromedriver/element_commands.cc |
diff --git a/chrome/test/chromedriver/element_commands.cc b/chrome/test/chromedriver/element_commands.cc |
index d1620a88a5dc1e7dcc6e992178c06445d2ca4577..b3e313cb3c25196f347bfca101dfba3cf714d1da 100644 |
--- a/chrome/test/chromedriver/element_commands.cc |
+++ b/chrome/test/chromedriver/element_commands.cc |
@@ -217,16 +217,6 @@ Status ExecuteSendKeysToElement( |
if (status.IsError()) |
return status; |
if (is_input && is_file) { |
- // File upload is only supported for chrome 27+. |
- if (session->chrome->GetBuildNo() < 1420) { |
- return Status( |
- kUnknownError, |
- base::StringPrintf( |
- "file upload requires chrome 27+, build 1420+," |
- "while current one is %s", |
- session->chrome->GetVersion().c_str())); |
- } |
- |
// Compress array into a single string. |
base::FilePath::StringType paths_string; |
for (size_t i = 0; i < key_list->GetSize(); ++i) { |