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

Alex Karpenko alexkarpenko at hotmail.com
Sun Sep 5 12:54:40 PDT 2010



Hi guys,


Does anyone have any comments on the proposed API change? I believe this is a fairly straight forward addition (and patch), so I hope to see it make it into QtWebKit.


Alex
From: alexkarpenko at hotmail.com
To: webkit-qt at lists.webkit.org
Date: Tue, 24 Aug 2010 05:12:45 +0000
Subject: [webkit-qt] [QWebSettings] Expose API to enable/disable universal document access








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
Regards,
Alex Karpenko 		 	   		  

_______________________________________________
webkit-qt mailing list
webkit-qt at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100905/462cbf49/attachment.html>


More information about the webkit-qt mailing list