Index: chrome/test/data/extensions/api_test/file_system/open_multiple_writable_existing_with_write/test.js |
diff --git a/chrome/test/data/extensions/api_test/file_system/open_existing/test.js b/chrome/test/data/extensions/api_test/file_system/open_multiple_writable_existing_with_write/test.js |
similarity index 52% |
copy from chrome/test/data/extensions/api_test/file_system/open_existing/test.js |
copy to chrome/test/data/extensions/api_test/file_system/open_multiple_writable_existing_with_write/test.js |
index d2f22e237ae3f6874f83eb7cfb97718f7960b2e0..0d69c8e671654f654bde98bb51ba079a65a67358 100644 |
--- a/chrome/test/data/extensions/api_test/file_system/open_existing/test.js |
+++ b/chrome/test/data/extensions/api_test/file_system/open_multiple_writable_existing_with_write/test.js |
@@ -5,9 +5,10 @@ |
chrome.test.runTests([ |
function openFile() { |
chrome.fileSystem.chooseEntry( |
- {suggestedName: 'open_existing.txt'}, |
- chrome.test.callbackPass(function(entry) { |
- checkEntry(entry, 'open_existing.txt', false, false); |
+ {acceptsMultiple: true, type: 'openWritableFile'}, |
+ chrome.test.callbackPass(function(entries) { |
+ checkEntry(entries[0], 'open_existing1.txt', false, true); |
+ checkEntry(entries[1], 'open_existing2.txt', false, true); |
}) |
); |
} |