| Summary: | [GTK] Downloads are broken with the network process enabled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | cdumez, commit-queue, danw, gustavo, mrobinson, rakuco | ||||
| Priority: | P2 | Keywords: | Gtk | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | 126258 | ||||||
| Bug Blocks: | 108832, 126114 | ||||||
| Attachments: |
|
||||||
|
Description
Carlos Garcia Campos
2013-12-22 03:13:11 PST
Patch in bug https://bugs.webkit.org/show_bug.cgi?id=126258 fixes all test cases except /webkit2/Downloads/policy-decision-download that still times out: $ WEBKIT_USE_NETWORK_PROCESS=1 Programs/WebKit2APITests/TestDownloads -s /webkit2/Downloads/policy-decision-download /webkit2/Downloads/local-file: OK /webkit2/Downloads/local-file-error: OK /webkit2/Downloads/remote-file: OK /webkit2/Downloads/remote-file-error: OK /webkit2/WebKitWebView/download-uri: OK Created attachment 220056 [details]
Patch
$ WEBKIT_USE_NETWORK_PROCESS=1 Programs/WebKit2APITests/TestDownloads -p /webkit2/Downloads/policy-decision-download
/webkit2/Downloads/policy-decision-download: OK
Comment on attachment 220056 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=220056&action=review > Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:729 > if (d->client()->usesAsyncCallbacks()) > handle->client()->didReceiveResponseAsync(handle.get(), d->m_response); > - else > + else { > handle->client()->didReceiveResponse(handle.get(), d->m_response); > + continueAfterDidReceiveResponse(handle.get()); > + } Early return here maybe? Committed r161109: <http://trac.webkit.org/changeset/161109> |