Bug 105899

Summary: Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start
Product: WebKit Reporter: Azat Khuzhin <a3at.mail>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: a3at.mail
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start
webkit-ews: commit-queue-
002-Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start none

Description Azat Khuzhin 2013-01-01 14:16:56 PST
If you try to set "SynchronousRequestAttribute" from "QNetworkAccessManager::createRequest"
<pre>
    QNetworkRequest nonConstRequest(request);
    nonConstRequest.setAttribute(QNetworkRequest::SynchronousRequestAttribute, true);
    QNetworkReply *reply = QNetworkAccessManager::createRequest(operation, nonConstRequest, outgoingData);
    return reply;
</pre>
Qt webkit browser didn't render page, because it just load one resource, and all pending not.

In my opinion because after "QNetworkAccessManager::createRequest" request already finished, and when webkit attach to finished() signal non of event will be triggered.

After some investigations, I'v write a little patch (attached).
This must fix issue.
Comment 1 Azat Khuzhin 2013-01-01 14:20:58 PST
Created attachment 180996 [details]
Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start
Comment 2 Early Warning System Bot 2013-01-08 08:58:33 PST
Comment on attachment 180996 [details]
Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start

Attachment 180996 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/15762135
Comment 3 Early Warning System Bot 2013-01-08 09:01:27 PST
Comment on attachment 180996 [details]
Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start

Attachment 180996 [details] did not pass qt-wk2-ews (qt):
Output: http://queues.webkit.org/results/15771086
Comment 4 Azat Khuzhin 2013-01-08 14:08:10 PST
Created attachment 181757 [details]
002-Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start
Comment 5 Azat Khuzhin 2013-01-08 14:12:11 PST
New fixed patch attached

First one was totally wrong, because I looked at the wrong place of diff.
Comment 6 Azat Khuzhin 2013-01-27 12:13:59 PST
Any news?
Comment 7 Alexey Proskuryakov 2022-07-29 10:53:34 PDT
The Qt port has been removed from WebKit, resolving this bug.