Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1157)

Unified Diff: chrome/test/webdriver/commands/create_session.cc

Issue 7518031: Fix testInstallExtensions by adding correct crx files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Write profile.zip to temp file instead of cwd Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/webdriver/test/chromedriver_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/commands/create_session.cc
diff --git a/chrome/test/webdriver/commands/create_session.cc b/chrome/test/webdriver/commands/create_session.cc
index a81986881bd3e31fc3faf415b6a427a0768f016d..9e73e3060db61ee88502d03b8b2f0cb53f7b9e56 100644
--- a/chrome/test/webdriver/commands/create_session.cc
+++ b/chrome/test/webdriver/commands/create_session.cc
@@ -161,7 +161,7 @@ void CreateSession::ExecutePost(Response* const response) {
}
FilePath extension_file(
extensions_dir.path().AppendASCII("extension" +
- base::IntToString(i)));
+ base::IntToString(i) + ".crx"));
std::string message;
if (!WriteBase64DataToFile(extension_file, base64_extension, &message)) {
response->SetError(new Error(kBadRequest, message));
« no previous file with comments | « no previous file | chrome/test/webdriver/test/chromedriver_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698