Chrome is inconsistent here across platforms. On Linux at least, a file `a-\-b` is allowed and can be uploaded. On Windows such a file is blocked. The spec right now declares a backslash invalid in paths, and so `getFile()`/`getDirectory()` throw.
Chrome is inconsistent here across platforms. On Linux at least, a file
a-\-bis allowed and can be uploaded. On Windows such a file is blocked.The spec right now declares a backslash invalid in paths, and so
getFile()/getDirectory()throw.