[Webkit-unassigned] [Bug 111574] [WK2][GTK] Invalid request returned by webkit_download_get_request if called before download starts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 6 06:39:29 PST 2013


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





--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-03-06 06:41:53 PST ---
The problem only happens for downloads started manually with webkit_web_context_download or webkit_web_view_download, because for downloads started implicitly, you get the download object from the download-started signal. 
So, I think that instead of creating the uri request on demand, we should set it from download-started and document that until download-started is emitted, the request will be NULL. 
Or for the cases where the download is started manually, we can create a first request for the requested URI and overwrite it with the download proxy request when download-started is emitted. This will ensure that webkit_download_get_request will always return a valid object, but it might be weird that the request changes.

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