[webkit-qt] [QWebSettings] Expose API to enable/disable universal document access

Alex Karpenko alexkarpenko at hotmail.com
Mon Aug 23 22:12:45 PDT 2010

Qt 4.6+ exposes an API for allowing universal access from locally stored files. This is done by setting the QWebSettings::LocalContentCanAccessRemoteUrls attribute. However, in special circumstances it is also desirable to enable universal access for *both* local and remote documents. For this, WebKit provides the method WebCore::Security::setWebSecurityEnabled to enable/disable universal access (i.e., enable/disable security origin checking --- if disabled any document can access any other document across domains, etc). But, QWebSettings does not expose this.
I've submitted a proposed patch, which exposes this functionality through the QWebSettings::WebSecurityEnabled attribute: https://bugs.webkit.org/show_bug.cgi?id=44482
Alex Karpenko 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100824/f8bcb920/attachment.html>

More information about the webkit-qt mailing list