[Webkit-unassigned] [Bug 114347] New: [GTK] Notify WebProcess in WebKitURISchemeRequest when we fail to read the user InputStream

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 10 03:51:38 PDT 2013


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

           Summary: [GTK] Notify WebProcess in WebKitURISchemeRequest when
                    we fail to read the user InputStream
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rego at igalia.com


Until now we were finishing the request without notifying the WebProcess when we fail to read the user InputStream while managing a WebKitURISchemeRequest.

In WebKitURISchemeRequest::webkitURISchemeRequestReadCallback() it's marked as FIXME:
 static void webkitURISchemeRequestReadCallback(GInputStream* inputStream, GAsyncResult* result, WebKitURISchemeRequest* schemeRequest)
 {
     GRefPtr<WebKitURISchemeRequest> request = adoptGRef(schemeRequest);
    gssize bytesRead = g_input_stream_read_finish(inputStream, result, 0);
    // FIXME: notify the WebProcess that we failed to read from the user stream.
     if (bytesRead == -1) {
        webkitWebContextDidFinishURIRequest(request->priv->webContext, request->priv->requestID);
         return;
     }
 [...]
 }

-- 
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