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

Unified Diff: chrome/test/data/extensions/api_test/filesystem_handler/tab.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/filesystem_handler/tab.js
===================================================================
--- chrome/test/data/extensions/api_test/filesystem_handler/tab.js (revision 125140)
+++ chrome/test/data/extensions/api_test/filesystem_handler/tab.js (working copy)
@@ -89,7 +89,7 @@
// The .log file is created by fileBrowser component extension.
// We should not be able to get this file's fileEntry.
function tryOpeningLogFile(origEntry,successCallback, errorCallback) {
- var logFilePath =origEntry.fullPath.replace('.tXt', '.log');
+ var logFilePath = origEntry.fullPath.replace('.aBc', '.log');
origEntry.filesystem.root.getFile(logFilePath, {},
successCallback,
errorCallback);
@@ -132,7 +132,7 @@
};
function executeListener(id, details) {
- if (id != "TextAction" && id != "BaseAction" && id != "JpegAction") {
+ if (id != "AbcAction" && id != "BaseAction" && id != "123Action") {
chrome.test.fail("Unexpected action id: " + id);
return;
}

Powered by Google App Engine
This is Rietveld 408576698