diff --git a/testing/mochitest/server.js b/testing/mochitest/server.js index f8f079595ea6..2965f0e8d38e 100644 --- a/testing/mochitest/server.js +++ b/testing/mochitest/server.js @@ -244,7 +244,9 @@ function list(requestPath, directory, recurse) [links[key], childCount] = list(key, file, recurse); count += childCount; } else { - links[key] = true; + if (file.leafName.charAt(0) != '.') { + links[key] = true; + } } }