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

Dawit A adawit at kde.org
Sun Sep 5 22:44:10 PDT 2010


If you want your patch to be reviewed, you might want to set the
"review" field to "?" and also add "Qt" to the keyword section in your
bug report. Perhaps then one of the reviewers will catch it and
provide feedback on your proposal...

On Sun, Sep 5, 2010 at 3:54 PM, Alex Karpenko <alexkarpenko at hotmail.com> wrote:
> 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
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>
>


More information about the webkit-qt mailing list