Title: [120670] trunk/LayoutTests
- Revision
- 120670
- Author
- [email protected]
- Date
- 2012-06-18 22:08:26 -0700 (Mon, 18 Jun 2012)
Log Message
Unreviewed test fix for r120667: skip '.svn' directory from the test results.
* fast/forms/file/input-file-entries.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (120669 => 120670)
--- trunk/LayoutTests/ChangeLog 2012-06-19 04:56:40 UTC (rev 120669)
+++ trunk/LayoutTests/ChangeLog 2012-06-19 05:08:26 UTC (rev 120670)
@@ -1,3 +1,9 @@
+2012-06-18 Kinuko Yasuda <[email protected]>
+
+ Unreviewed test fix for r120667: skip '.svn' directory from the test results.
+
+ * fast/forms/file/input-file-entries.html:
+
2012-06-18 Gregg Tavares <[email protected]>
Expose WEBGL_depth_texture extension to WebGL
Modified: trunk/LayoutTests/fast/forms/file/input-file-entries.html (120669 => 120670)
--- trunk/LayoutTests/fast/forms/file/input-file-entries.html 2012-06-19 04:56:40 UTC (rev 120669)
+++ trunk/LayoutTests/fast/forms/file/input-file-entries.html 2012-06-19 05:08:26 UTC (rev 120670)
@@ -104,14 +104,17 @@
function verifyDirectory(expected, callback, entries)
{
- returnedEntries = entries;
+ returnedEntries = [];
+ for (var i = 0; i < entries.length; i++) {
+ // Skip the entries that start with '.' (so that we do not get '.svn' etc)
+ if (entries[i].fullPath.indexOf('.') == 0)
+ continue;
+ returnedEntries.push(entries[i].fullPath);
+ }
+ returnedEntries.sort();
shouldEvaluateTo('returnedEntries.length', expected.files.length);
- var foundPaths = [];
for (var i = 0; i < returnedEntries.length; i++)
- foundPaths.push(returnedEntries[i].fullPath);
- foundPaths.sort();
- for (var i = 0; i < foundPaths.length; i++)
- debug(foundPaths[i]);
+ debug(returnedEntries[i]);
callback();
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes