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.38k stars 84 forks source link

fix legacy open throwing abortError #37

Closed dwelle closed 3 years ago

dwelle commented 3 years ago

fix https://github.com/GoogleChromeLabs/browser-fs-access/issues/36

This breaks opening any files in Excalidraw. The solution isn't 100% safe though. Personally, I'd drop the AbortError hack altogether.

tomayac commented 3 years ago

Thank you for this duct tape on top of the duct tape. It was introduced in the context of https://github.com/GoogleChromeLabs/browser-fs-access/issues/33. See https://github.com/whatwg/html/issues/6376#issuecomment-786824058 for the attempt at a proper fix at the root of the issue.

I have just released v0.14.1 that contains your fix. Let's see how that holds. Thanks again!