Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99611

Webassembly Support for "File System Access API"

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • 6.5
    • None
    • QPA
    • None
    • WebAssembly

    Description

      To access files in the operating system there is the new "File System Access API".

      It allows programs that run in browsers to open a file with the ability to rewrite it and access the contents of a directory.
      It allows applications in the browser to have functionalities that are similar to the desktop.

      Support for this API could be an interesting addition for QT Webassembly.

      The API is used by Chrome/Edge, but is not supported by Firefox and Safari for privacy reasons.
      You can see how it works at https://vscode.dev/
      also see comments at https://www.amitmerchant.com/how-vscode-dev-interacts-with-user-local-filesystem/

      References:
      https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
      https://web.dev/file-system-access/

      See related closed Qt/Bug "webassembly: support local system file access"
      https://bugreports.qt.io/browse/QTBUG-67834

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-99611
          # Subject Branch Project Status CR V

          Activity

            People

              qt.webassembly qt.webassembly
              domezuk Domenico Zucchetti
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: