[Webkit-unassigned] [Bug 105899] New: Pass through SynchronousRequestAttribute to QNetworkReplyHandler::start

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 1 14:14:54 PST 2013


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

           Summary: Pass through SynchronousRequestAttribute to
                    QNetworkReplyHandler::start
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: a3at.mail at gmail.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list