[webkit-dev] Allow "cross-origin" XHR requests for non-standard URLs?

Benjamin ikipou at gmail.com
Sat Mar 19 02:28:03 PDT 2011


On Sat, Mar 19, 2011 at 6:46 AM, Joe Andrieu <joe at andrieu.net> wrote:

>  I've been working with the Chromium Embedded Framework (in windows) which
> gives webkit version 534.20. I am trying to get a custom scheme to work with
> XHR.
>
> By way of background, I first updated the Cef code so that custom schemes
> can be declared "non-standard", which avoids certain parsing errors.
> Non-standard schemes include "data", "javascript", "file". Webkit has a
> mechanism for registering standard schemes, so all I needed to do was /not/
> register custom schemes that were non-standard.
>

Just curious of your use case, do you really need non-standard scheme?

Wouldn't it be easier to just define a custom scheme? I see people do that
all the time with QtWebKit for hybrid apps.

cheers,
Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110319/56276be0/attachment.html>


More information about the webkit-dev mailing list