[webkit-qt] ajax returns json with "

Ademar Reis ademar.reis at openbossa.org
Tue Aug 23 09:19:50 PDT 2011

On Tue, Aug 23, 2011 at 1:04 PM, Sylvain Pointeau
<sylvain.pointeau at gmail.com> wrote:
>> I did it finally, it is the bug 66205
>> https://bugs.webkit.org/show_bug.cgi?id=66205
> I re-opened that bug because the solution cannot be to indicate the file://
> I had to use a fake url like "http://localhost.sylvain.com/index.html"
> and, in my custom network manager, I catch this url and I return the real
> file.
> Behind the scene, I am using this method to use a CGI. Only with the fake
> url, I can use cookies, session variable and the form POST method.
> Also, as I use a fake http:// url, the scheme should be http, why is it
> blank in the bug resolution remarks?

This bug requires better investigation and unfortunately the reduction
is not so reduced. :-(

But it looks like a real regression, as the problem happens with a
recent QtWebKit even when run inside Qt-4.7 (it doesn't happen with
QtWebKit-2.0 which is part of Qt-4.7, even when using Qt-4.8).

BTW, I think the problem is not the quoting of the response. The
problem is the error in the ajax call: if you call
alert(jqXHR.responseText) on the case of success, you'll see the same

  - Ademar

Ademar de Souza Reis Jr. <ademar.reis at openbossa.org>
Nokia Institute of Technology

More information about the webkit-qt mailing list