Details
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
For Gerrit Dashboard: QTBUG-79322 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
278730,2 | Test XMLHttpRequests to CorsEnabled custom schemes | 5.14 | qt/qtwebengine | Status: MERGED | +2 | 0 |