Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / test / data / extensions / api_test / file_browser / drive_search_test / test.js
index f4cf43c..721599d 100644 (file)
@@ -47,8 +47,9 @@ function verifyDirectory(entry, successCallback) {
                           'Entry has no createReader method.');
   var reader = entry.createReader();
 
-  reader.readEntries(successCallback,
-                     chrome.test.fail.bind(null, 'Error reading directory.'));
+  reader.readEntries(successCallback, function (error) {
+    chrome.test.fail('Error reading directory: ' + error.name);
+  });
 }
 
 /**
@@ -139,8 +140,7 @@ chrome.test.runTests([
   function driveMetadataSearch() {
     // The results should be sorted by (lastAccessed, lastModified) pair. The
     // sort should be decending. The comments above each expected result
-    // represent their (lastAccessed, lastModified) pair. These values are set
-    // in remote_file_system_api_test_root_feed.json.
+    // represent their (lastAccessed, lastModified) pair.
     // The API should return 4 results, even though there are more than five
     // matches in the test file system.
     var expectedResults = [