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

Side by Side Diff: chrome/test/data/extensions/api_test/fileapi/tab.html

Issue 5392001: Add extension API test for FileSystem API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <script>
2 function errorCallback(error) {
3 chrome.test.fail("Got unexpected error: " + error.code);
4 }
5
6 function successCallback(entry) {
7 chrome.test.succeed();
8 }
9
10 chrome.test.runTests([function tab() {
11 console.log("Requesting a filesystem...");
12 requestFileSystem(window.TEMPORARY, 100, function(fs) {
13 // See if we get the same filesystem image.
14 console.log("DONE requesting filesystem: " + fs.name);
15 fs.root.getFile('dir/file', {create:false},
16 successCallback, errorCallback);
17 }, errorCallback);
18 }]);
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698