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

Unified Diff: chrome/test/data/extensions/api_test/file_system/is_writable_file_entry/test.js

Issue 10914284: Rename chrome.fileSystem apis to be expandable to directories if we wish. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo Created 8 years, 3 months 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/is_writable_file_entry/test.js
diff --git a/chrome/test/data/extensions/api_test/file_system/is_writable_file_entry/test.js b/chrome/test/data/extensions/api_test/file_system/is_writable_file_entry/test.js
index 89c712217ac55ff6a4c621acc9f5ef446a22cc8c..4b38e802945f4f3ff3f297e8fff6c6a1155de2a1 100644
--- a/chrome/test/data/extensions/api_test/file_system/is_writable_file_entry/test.js
+++ b/chrome/test/data/extensions/api_test/file_system/is_writable_file_entry/test.js
@@ -4,21 +4,21 @@
chrome.test.runTests([
function isWritableEntry() {
- chrome.fileSystem.chooseFile({type: 'saveFile'},
+ chrome.fileSystem.chooseEntry({type: 'saveFile'},
chrome.test.callbackPass(function(entry) {
chrome.test.assertEq('writable.txt', entry.name);
// Test that the file is writable, as we requested a 'saveFile'.
- chrome.fileSystem.isWritableFileEntry(entry, chrome.test.callbackPass(
+ chrome.fileSystem.isWritableEntry(entry, chrome.test.callbackPass(
function(isWritable) {
chrome.test.assertTrue(isWritable);
}));
}));
},
function isNotWritableEntry() {
- chrome.fileSystem.chooseFile(chrome.test.callbackPass(function(entry) {
+ chrome.fileSystem.chooseEntry(chrome.test.callbackPass(function(entry) {
chrome.test.assertEq('writable.txt', entry.name);
// The file should not be writable, since the default is 'openFile'.
- chrome.fileSystem.isWritableFileEntry(entry, chrome.test.callbackPass(
+ chrome.fileSystem.isWritableEntry(entry, chrome.test.callbackPass(
function(isWritable) {
chrome.test.assertFalse(isWritable);
}));

Powered by Google App Engine
This is Rietveld 408576698