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

wasm: create example which sets COOP and COEP from service worker

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Other
    • None
    • WebAssembly

    Description

      Multithreading and SharedArrayBuffer require cross-origin isolation, which can be enabled by setting the COOP and COEP headers. This can happen in two ways:

      • On the server (e.g. 'qtwasmserver – --cross-origin-isolation', or by editing server config)
      • Prom a PWA service worker, which can modify headers for http requests. This has the benefit that no server changes are needed.

      Add service worker example to Qt Web Utils at git.qt.io/mosorvig/qt-web-utils

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.webassembly qt.webassembly
            sorvig Morten Sørvig
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes