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

Loading from custom scheme through XMLHttpRequest isn't allowed

    XMLWordPrintable

Details

    • 73a8a53f6a98f24044f18f403b13dff2fb2645b6 (qt/qtwebengine/5.15)

    Description

      Loading the file through script tag works, but XMLHttpRequest fails with:

      qml: Access to XMLHttpRequest at 'scripts://javascript/main.js' from origin 'qrc://' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, https.
      

      Attachments

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

        Activity

          People

            juri.valdmann Jüri Valdmann (Inactive)
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes