Currently, we are stuck as soon as an API test require HTTP. We had quite a few bugs related to that over time.
To fix that, we need
-an in-process, threaded, very simple http server
-a way to define delays on it, or block a response until certains events.
One use case it should solve: https://bugs.webkit.org/show_bug.cgi?id=49650
=== Bulk closing of Qt bugs ===
If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.
If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.