As of May 31, 2023, we have updated our Code of Conduct.
4 of 4
added 186 characters in body

How to open a file in filesystem: from a link

I have created a file using the FileSystem API. I can't open it from a simple link. However, I can open the page placing the URL manually in the browser (filesystem:http://localhost:8100/temporary/log.csv)

I'm testing only on google chrome for now.

window.open("filesystem:http://localhost:8100/temporary/log.csv")

I expect it to open in a new window.

UPDATE: This issue was fixed by using window.URL.createObjectURL() so the link will be something like blob:http://localhost:8100/7aa5685c-ca4f-485a-8bf8-d1c95e6257ab which works