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

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

Issue 18331017: Support choosing multiple files with fileSystem.chooseEntry. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 5 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/api_test/file_system/save_multiple/test.html ('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/api_test/file_system/save_multiple/test.js
diff --git a/chrome/test/data/extensions/api_test/file_system/save_existing_with_write/test.js b/chrome/test/data/extensions/api_test/file_system/save_multiple/test.js
similarity index 55%
copy from chrome/test/data/extensions/api_test/file_system/save_existing_with_write/test.js
copy to chrome/test/data/extensions/api_test/file_system/save_multiple/test.js
index d987bbaf81b0205c63c615927ae275ee18c62084..fd3d65ed5d022a1cc552b9f43e272c772356208e 100644
--- a/chrome/test/data/extensions/api_test/file_system/save_existing_with_write/test.js
+++ b/chrome/test/data/extensions/api_test/file_system/save_multiple/test.js
@@ -4,9 +4,8 @@
chrome.test.runTests([
function saveFile() {
- chrome.fileSystem.chooseEntry({type: 'saveFile'},
- chrome.test.callbackPass(function(entry) {
- checkEntry(entry, 'save_existing.txt', false, true);
- }));
+ chrome.fileSystem.chooseEntry(
+ {type: 'saveFile', acceptsMultiple: true}, chrome.test.callbackFail(
+ "acceptsMultiple: true is not supported for 'saveFile'"));
}
]);
« no previous file with comments | « chrome/test/data/extensions/api_test/file_system/save_multiple/test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698