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

Unified Diff: chrome/test/data/extensions/api_test/file_system/retain_directory/test_other_window.js

Issue 23146016: Add support for directory access to the file system API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@simpler-write-permissions
Patch Set: Created 7 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
Index: chrome/test/data/extensions/api_test/file_system/retain_directory/test_other_window.js
diff --git a/chrome/test/data/extensions/api_test/file_system/retain_entry/test_other_window.js b/chrome/test/data/extensions/api_test/file_system/retain_directory/test_other_window.js
similarity index 91%
copy from chrome/test/data/extensions/api_test/file_system/retain_entry/test_other_window.js
copy to chrome/test/data/extensions/api_test/file_system/retain_directory/test_other_window.js
index 18a76a05bf01940c4e456caad58e1bbfa3dca261..042798475572ec002d70f4879b24dbe67a6ff0a9 100644
--- a/chrome/test/data/extensions/api_test/file_system/retain_entry/test_other_window.js
+++ b/chrome/test/data/extensions/api_test/file_system/retain_directory/test_other_window.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-chrome.fileSystem.chooseEntry({type: 'openFile'},
+chrome.fileSystem.chooseEntry({type: 'openDirectory'},
chrome.test.callbackPass(function(entry) {
var id = chrome.fileSystem.retainEntry(entry);
chrome.test.assertTrue(id != null);

Powered by Google App Engine
This is Rietveld 408576698