Search code examples
same-origin-policyqtwebkit

QtWebkit Same-Origin-policy


I have QtWebkit ported on Arm based platform. We are able to run QtTestBrowser. I wanted to disable "same-origin-policy" in the above browser.

Please let me know if any body has idea on this.


Solution

  • By default, Qt doesn't expose method to disable / whitelist the same origin policy. Extended the same (qwebsecurityorigin.cpp) and able to get it working.