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.