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

Unified Diff: trunk/src/chrome/test/data/extensions/api_test/file_system/open_directory/test.js

Issue 284333002: Revert 270872 "Move all callers of GetHomeDir() to PathService::..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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: trunk/src/chrome/test/data/extensions/api_test/file_system/open_directory/test.js
===================================================================
--- trunk/src/chrome/test/data/extensions/api_test/file_system/open_directory/test.js (revision 270950)
+++ trunk/src/chrome/test/data/extensions/api_test/file_system/open_directory/test.js (working copy)
@@ -21,17 +21,9 @@
chrome.test.callbackPass(function(directoryEntry) {
var reader = directoryEntry.createReader();
reader.readEntries(chrome.test.callback(function(entries) {
- // On POSIX systems DIR_HOME is overridden for this test and
- // [.config] directory may be created there, ignore it
- // See https://codereview.chromium.org/200473002/
- var testEntry;
- entries.forEach(function(entry) {
- if (entry.name != '.config') {
- chrome.test.assertEq(entry.name, 'open_existing.txt');
- testEntry = entry;
- }
- });
- checkEntry(testEntry, 'open_existing.txt', false, false);
+ chrome.test.assertEq(entries.length, 1);
+ var entry = entries[0];
+ checkEntry(entry, 'open_existing.txt', false, false);
}));
}));
},
« no previous file with comments | « trunk/src/chrome/common/importer/firefox_importer_utils_linux.cc ('k') | trunk/src/chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698