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

Unified Diff: chrome/test/data/extensions/api_test/filebrowser_component/main.js

Issue 9395077: [filebrowser] Introduce View action for supported file types (e.g. pdf). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: chrome/test/data/extensions/api_test/filebrowser_component/main.js
===================================================================
--- chrome/test/data/extensions/api_test/filebrowser_component/main.js (revision 125140)
+++ chrome/test/data/extensions/api_test/filebrowser_component/main.js (working copy)
@@ -5,8 +5,8 @@
/*
This component extension test does the following:
-1. Creates a txt and log file on the local file system with some random text.
-2. Finds a registered task (file item context menu) for txt file and invokes it
+1. Creates an abc and log file on the local file system with some random text.
+2. Finds a registered task (file item context menu) for abc file and invokes it
with url of the test file.
3. Listens for a message from context menu handler and makes sure its payload
matches the random text from the test file.
@@ -15,7 +15,7 @@
var cleanupError = 'Got unexpected error while cleaning up test directory.';
// Class specified by the client runnig the TestRunner.
-// |expectedTasks| should contain list of actions defined for txt files defined
+// |expectedTasks| should contain list of actions defined for abc files defined
// by filesystem_handler part of the test.
// |fileVerifierFunction| method that will verify test results received from the
// filesystem_handler part of the test.
@@ -121,7 +121,7 @@
var self = this;
this.fileCreator_.createFile('.log',
function(file, text) {
- self.fileCreator_.createFile('.tXt',
+ self.fileCreator_.createFile('.aBc',
self.onFileCreated_.bind(self),
self.errorCallback_.bind(self));
},

Powered by Google App Engine
This is Rietveld 408576698