brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.53k stars 2.27k forks source link

Minimal File System API support? #20563

Open JamesB7 opened 2 years ago

JamesB7 commented 2 years ago

I normally do my web development on Brave, and discovered today that the File System API is not available at all.

I can see excellent arguments against directory access, at least without a big warning.

That said, access to individual files is both useful and not terribly dangerous.

I am (experimentally) porting https://www.evolvapor.com/escribe/ to web using mono-wasm, and I need this API (or at least something that can keep a file reference around) to be able to implement File->Save in the way a user would expect. It's useful to keep handles around also for the File menu most-recently-used list. I'd like to be able to maintain the MRU list between sessions, but that's not nearly as glaring usability wise.

Please give it some thought. If yall are quite set on it, do at least consider at least making it more available if they install the program as a PWA.

Thank you

James

rebron commented 2 years ago

cc: @bsclifton

bsclifton commented 2 years ago

@JamesB7 we do have File System API support - it's just disabled by default. Can you please visit brave://flags/#file-system-access-api and try enabling? You may need to restart after that value is changed to enabled

For posterity, this was fixed (previously tracked) with https://github.com/brave/brave-browser/issues/18979

m-dressler commented 1 year ago

I would also be appreciative if at least the flag could be made available on android/mobile!

ghost commented 9 months ago

It would be nice to at least enable things like the File System API and Idle Detection API for PWAs. I was looking to find out how well Brave treated PWAs and this is a little disappointing to find out because now I don't know if I can trust Brave to let me use the whole web. (Alright, I do understand the decision here actually and I've decided to continue trusting... but verifying.)

Is there a list of other features that aren't enabled by default? Because caniuse doesn't have Brave yet.

Found it here - What does Brave remove from the Chromium engine?