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

Azat Khuzhin
Reported 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.
Attachments
Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start (1.63 KB, patch)
2013-01-01 14:20 PST, Azat Khuzhin
webkit-ews: commit-queue-
002-Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start (1.69 KB, patch)
2013-01-08 14:08 PST, Azat Khuzhin
no flags
Azat Khuzhin
Comment 1 2013-01-01 14:20:58 PST
Created attachment 180996 [details] Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start
Early Warning System Bot
Comment 2 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
Early Warning System Bot
Comment 3 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
Azat Khuzhin
Comment 4 2013-01-08 14:08:10 PST
Created attachment 181757 [details] 002-Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start
Azat Khuzhin
Comment 5 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.
Azat Khuzhin
Comment 6 2013-01-27 12:13:59 PST
Any news?
Alexey Proskuryakov
Comment 7 2022-07-29 10:53:34 PDT
The Qt port has been removed from WebKit, resolving this bug.
Note You need to log in before you can comment on or make changes to this bug.