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

Unified Diff: chrome/test/data/extensions/platform_apps/load_and_launch_file/test.js

Issue 16357005: Pass command line arguments through with --load-and-launch-app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback Created 7 years, 6 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 | « chrome/test/data/extensions/platform_apps/load_and_launch_file/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/load_and_launch_file/test.js
diff --git a/chrome/test/data/extensions/platform_apps/launch_file_by_extension/test.js b/chrome/test/data/extensions/platform_apps/load_and_launch_file/test.js
similarity index 95%
copy from chrome/test/data/extensions/platform_apps/launch_file_by_extension/test.js
copy to chrome/test/data/extensions/platform_apps/load_and_launch_file/test.js
index 115fff8f170a3de546d791a0e844904411e1239a..6a327a9b2da269b62929fb708d98a21f08b3c765 100644
--- a/chrome/test/data/extensions/platform_apps/launch_file_by_extension/test.js
+++ b/chrome/test/data/extensions/platform_apps/load_and_launch_file/test.js
@@ -18,7 +18,7 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
reader.onloadend = function(e) {
chrome.test.assertEq(
reader.result.indexOf("This is a test. Word."), 0);
- chrome.test.succeed();
+ chrome.test.sendMessage('Launched');
};
reader.onerror = function(e) {
chrome.test.fail("Error reading file contents.");
« no previous file with comments | « chrome/test/data/extensions/platform_apps/load_and_launch_file/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698