'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);
+ });
}
/**
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 = [