Index: chrome/test/data/extensions/api_test/file_system/get_volume_list_not_kiosk_session/background.js |
diff --git a/chrome/test/data/extensions/api_test/file_system/request_file_system_not_kiosk_session/test.js b/chrome/test/data/extensions/api_test/file_system/get_volume_list_not_kiosk_session/background.js |
similarity index 55% |
copy from chrome/test/data/extensions/api_test/file_system/request_file_system_not_kiosk_session/test.js |
copy to chrome/test/data/extensions/api_test/file_system/get_volume_list_not_kiosk_session/background.js |
index c382827dc7c5a6f68c74dd5433b8e034c695e5d6..dcca20fde94900f0f84275ef11d840190a0ec389 100644 |
--- a/chrome/test/data/extensions/api_test/file_system/request_file_system_not_kiosk_session/test.js |
+++ b/chrome/test/data/extensions/api_test/file_system/get_volume_list_not_kiosk_session/background.js |
@@ -3,10 +3,12 @@ |
// found in the LICENSE file. |
chrome.test.runTests([ |
- function readOnlyVolume() { |
- chrome.fileSystem.requestFileSystem( |
- {volumeId: 'testing:read-only'}, |
+ function getVolumeList() { |
+ chrome.fileSystem.getVolumeList( |
chrome.test.callbackFail('Operation only supported for kiosk apps ' + |
- 'running in a kiosk session.', function(fs) {})); |
- }, |
+ 'running in a kiosk session.', |
+ function(volumeList) { |
+ chrome.test.assertFalse(!!volumeList); |
+ })); |
+ } |
]); |