Index: chrome/test/data/extensions/api_test/file_system/open_directory_without_permission/test.js |
diff --git a/chrome/test/data/extensions/api_test/file_system/open_writable_existing/test.js b/chrome/test/data/extensions/api_test/file_system/open_directory_without_permission/test.js |
similarity index 70% |
copy from chrome/test/data/extensions/api_test/file_system/open_writable_existing/test.js |
copy to chrome/test/data/extensions/api_test/file_system/open_directory_without_permission/test.js |
index d0a8cd9c4433b1e4d223e9867cdc23f546d99be3..d344af3728a47e26912dba43c26bc3aba9aa2c16 100644 |
--- a/chrome/test/data/extensions/api_test/file_system/open_writable_existing/test.js |
+++ b/chrome/test/data/extensions/api_test/file_system/open_directory_without_permission/test.js |
@@ -4,9 +4,9 @@ |
chrome.test.runTests([ |
function openFile() { |
- chrome.fileSystem.chooseEntry({type: 'openWritableFile'}, |
+ chrome.fileSystem.chooseEntry({type: 'openDirectory'}, |
chrome.test.callbackFail( |
- 'Operation requires fileSystem.write permission', |
+ 'Operation requires fileSystem.directory permission', |
function(entry) {})); |
} |
]); |