|
[chromedriver] Add command for uploading a file to a remote ChromeDriver server,
which can be used when performing a file upload using sendKeys.
Unfortunately, past and current versions of some WebDriver clients,
including java, only upload a zip entry and not an actual zip. This can't be
parsed by chromium's zip utilities or minizip. The WebDriver clients should
be changed to send an actual zip file. In the meantime, we append a central
directory on to the zip entry and then unzip it.
BUG=chromedriver:18
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125004
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+532 lines, -53 lines) |
Patch |
 |
M |
chrome/chrome_tests.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/webdriver/commands/file_upload_command.h
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/webdriver/commands/file_upload_command.cc
|
View
|
1
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/webdriver/webdriver_capabilities_parser.h
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/test/webdriver/webdriver_capabilities_parser.cc
|
View
|
1
|
4 chunks |
+8 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/test/webdriver/webdriver_server.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/webdriver/webdriver_session.h
|
View
|
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/webdriver/webdriver_session.cc
|
View
|
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/test/webdriver/webdriver_util.h
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/webdriver/webdriver_util.cc
|
View
|
|
2 chunks |
+359 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/webdriver/webdriver_util_unittest.cc
|
View
|
|
2 chunks |
+29 lines, -2 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|