[webkit-qt] ajax returns json with "

Koskinen Janne Janne.P.Koskinen at digia.com
Wed Aug 24 03:35:08 PDT 2011


>You were correct, it comes from the ajax call (async=false), nothing else.
>Please could you investigate on the Qt side why async = false is failing to
>return the status code?

_Disclaimer: I haven't tested this in a while so maybe this was fixed already in QNAM and in Webkit_

See https://bugs.webkit.org/show_bug.cgi?id=57228

i.e. Sync method will work only if you have already established a connection. Sync method returns immediately and even the data is there it won't get read as we are already finished(). Underlying issue is in QNAM.

Issue is more pronounced on Symbian where the making of connection takes a long time.
With other systems it should still fail when the response is large....

Time to fire up Wireshark, see that you actually get the response from service and you have the data and that data is fully read by webkit.

-Janne



More information about the webkit-qt mailing list