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

Unified Diff: chrome/test/data/extensions/api_test/file_system_provider/get_all/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/get_all/test.js
diff --git a/chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js b/chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js
index 0e48c513d8299dd1ae7cfa346f56cfaf3c25dac7..d5a83aa2a4d77800a741495452840e2720d6ea9c 100644
--- a/chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js
+++ b/chrome/test/data/extensions/api_test/file_system_provider/get_all/test.js
@@ -46,7 +46,7 @@ chrome.test.runTests([
function mountError() {
chrome.fileSystemProvider.mount(
{fileSystemId: '', displayName: ''},
- chrome.test.callbackFail('SECURITY', function() {
+ chrome.test.callbackFail('INVALID_OPERATION', function() {
chrome.fileSystemProvider.getAll(chrome.test.callbackPass(
function(fileSystems) {
chrome.test.assertEq(0, fileSystems.length);

Powered by Google App Engine
This is Rietveld 408576698