Skip to content

showOpenFilePicker missing? #3799

@daxpedda

Description

@daxpedda
Contributor

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.

Activity

maurerdietmar

maurerdietmar commented on Jan 22, 2024

@maurerdietmar
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

maurerdietmar commented on Jan 22, 2024

@maurerdietmar
Contributor

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

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

daxpedda

daxpedda commented on Jan 22, 2024

@daxpedda
ContributorAuthor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementweb-sysIssues related to the `web-sys` crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @daxpedda@maurerdietmar

        Issue actions

          showOpenFilePicker missing? · Issue #3799 · wasm-bindgen/wasm-bindgen