[Webkit-unassigned] [Bug 172442] [GTK] Blob download doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 11 01:47:44 PDT 2017


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cgarcia at igalia.com
            Summary|[SOUP] Blob download        |[GTK] Blob download doesn't
                   |doesn't work                |work

--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com> ---
I've found the problem, and it's not a Soup issue (soup is not even used for Blobs), but GTK+ specific one. The problem is that GTK+ API uses URIs for download destination paths, and passes that uris to the WebKit internals. But WebKit expects download destination location to be a local path. This is not a problem for normal downloads, because the soup backend handles the cases of download destination being a URI and a path. For blob downloads NetworkDataTaskBlob is used, and it always expects the download destination to be a local path, failing in FileSystem::openFile() when a URI is passed. We need to keep using local files internally and convert to URIs only when exposing those paths to the API.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170611/97bd89b8/attachment.html>


More information about the webkit-unassigned mailing list