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

Unified Diff: chrome/test/data/extensions/api_test/file_system_provider/mount/test.js

Issue 703123003: [fsp] Pass more detailed errors to the providing extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a bug. Created 6 years, 1 month 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_provider/mount/test.js
diff --git a/chrome/test/data/extensions/api_test/file_system_provider/mount/test.js b/chrome/test/data/extensions/api_test/file_system_provider/mount/test.js
index 25c6e048b1800787e7db0f82ae520bc85c7f3bd8..81b6ae7207aa51ac2c50f01b8e62096c6b634c9b 100644
--- a/chrome/test/data/extensions/api_test/file_system_provider/mount/test.js
+++ b/chrome/test/data/extensions/api_test/file_system_provider/mount/test.js
@@ -19,14 +19,14 @@ chrome.test.runTests([
function emptyDisplayName() {
chrome.fileSystemProvider.mount(
{fileSystemId: 'file-system-id', displayName: ''},
- chrome.test.callbackFail('SECURITY'));
+ chrome.test.callbackFail('INVALID_OPERATION'));
},
// Verifies that mounting fails, when an empty string is provided as an Id
function emptyFileSystemId() {
chrome.fileSystemProvider.mount(
{fileSystemId: '', displayName: 'File System Name'},
- chrome.test.callbackFail('SECURITY'));
+ chrome.test.callbackFail('INVALID_OPERATION'));
},
// End to end test. Mounts a volume using fileSystemProvider.mount(), then
@@ -97,7 +97,7 @@ chrome.test.runTests([
fileSystemId: 'over-the-limit-fs-id',
displayName: 'Over The Limit File System'
},
- chrome.test.callbackFail('SECURITY'));
+ chrome.test.callbackFail('TOO_MANY_OPENED'));
}
};
tryNextOne();

Powered by Google App Engine
This is Rietveld 408576698