summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-07-05 21:55:00 +0200
committerMoonchild <moonchild@palemoon.org>2023-07-05 21:55:00 +0200
commit3d87998c595e1ac9d20812578ade6edfd020f339 (patch)
tree4dfd15925a82f45c951ff289448ed879a700cdfc /js
parent6f467680357649e455aa501df6ecbe4772c35687 (diff)
downloaduxp-3d87998c595e1ac9d20812578ade6edfd020f339.tar.gz
[DOM] Filter out symlinks for webkitdirectory.
This is effectively a back-out of the following patches from Bug 1274959 except we add comments and test coverage: - Part 1 which made the DirectoryListingTask include symlinks in the results as exposed by Directory.getFilesAndDirectories. - Part 3 which made GetFilesHelper include symlinks in the results. Test coverage for getFilesAndDirectories is provided by dom/filesystem/tests/test_basic.html by way of changes to its included file dom/filesystem/tests/filesystem_commons.js and changes to the createTreeFile helper in dom/filesystem/tests/script_fileList.js. Test coverage for GetFilesHelper is provided by dom/filesystem/tests/test_webkitdirectory.html and changes to the createTestFile helper in dom/filesystem/tests/script_fileList.js. Commenting out either of the `isLink` test in the relevant C++ code will cause the given tests to fail on non-windows platforms.
Diffstat (limited to 'js')
0 files changed, 0 insertions, 0 deletions