Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
QWebEngine hinders github navigation by default
Cfre last edited by Cfre
The Content-Security-Policy directive 'worker-src' is implemented behind a flag which is currently disabled. Uncaught TypeError: this.toggleAttribute is not a function Uncaught TypeError: this.toggleAttribute is not a function Uncaught (in promise) ReferenceError: AbortController is not defined ...
And so on, I've tried setting
settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessRemoteUrls, true); settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, true);
And made sure they are enabled, yet without any success. Do anyone happen to know which security policy I have to change to make github work?