GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.37k stars 82 forks source link

特定情况下无法使用directoryOpen成功读取文件 #117

Closed YJJMH closed 2 years ago

YJJMH commented 2 years ago

操作系统:Windows 浏览器:Chrome,Edge 网络协议:https

描述:当网络协议是https时,并且目录的长度超过51个字符(英文字符)时,使用directoryOpen无法正常读取文件 错误: image

麻烦请问一下这个是什么原因

tomayac commented 2 years ago

I just tried this on my machine (macOS), with a directory called aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa and it worked just fine. Since this sounds more like a Windows bug, could I ask you to create a new.crbug.com with a minimal reproduction case? Thank you! If you paste the bug URL here, I'm happy to help triage it.

YJJMH commented 2 years ago

谢谢您的回复,但是目前我在中国,无法访问https://chromiumbugs.appspot.com/,抱歉

tomayac commented 2 years ago

I just tried this on Windows via BrowserStack.com, and it worked fine. Could it be that your application uses a serialized directory handle to a directory that has been deleted?

Screen Shot 2022-06-27 at 10 10 13 Screen Shot 2022-06-27 at 10 12 34