Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showOpenFilePicker missing? #3799

Open
daxpedda opened this issue Jan 20, 2024 Discussed in #3796 · 3 comments
Open

showOpenFilePicker missing? #3799

daxpedda opened this issue Jan 20, 2024 Discussed in #3796 · 3 comments
Labels
enhancement web-sys Issues related to the `web-sys` crate

Comments

@daxpedda
Copy link
Collaborator

daxpedda commented Jan 20, 2024

Discussed in #3796

Originally posted by maurerdietmar January 19, 2024
Seems that File system IDLs are already available, but I cannot find https://developer.mozilla.org/en-US/docs/Web/API/Window/showOpenFilePicker ?

AFAICS the whole File System Access proposal is missing in web-sys, happy to review a PR adding it.

@daxpedda daxpedda added web-sys Issues related to the `web-sys` crate enhancement labels Jan 20, 2024
@maurerdietmar
Copy link
Contributor

I just tried to add the "File System Access" webidl, but then I found:

https://github.com/rustwasm/wasm-bindgen/blob/main/crates/web-sys/webidls/enabled/FileSystemAccess.webidl

But this is not:

https://wicg.github.io/file-system-access/#idl-index

Sorry, but I am confused. Maybe you can give me a hint?

@maurerdietmar
Copy link
Contributor

maurerdietmar commented Jan 22, 2024

The existing "FileSystemAccess.webidl" contains the IDL from:

https://fs.spec.whatwg.org/#idl-index

@daxpedda
Copy link
Collaborator Author

Feel free to rename any files as long as it doesn't cause any breaking changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement web-sys Issues related to the `web-sys` crate
Projects
None yet
Development

No branches or pull requests

2 participants