WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
129470
[GTK] WebKit1 downloads not working
https://bugs.webkit.org/show_bug.cgi?id=129470
Summary
[GTK] WebKit1 downloads not working
Ben Boeckel
Reported
2014-02-27 21:37:59 PST
It's been happening for a while AFAICT, but I've finally had the time to chase it down. My guess is that it broke in v2.3.3[1] (I'm running 2.3.90 right now) with the change over to didReceiveBuffer rather than didReceiveData. The behavior is that I call webkit_download_start and then…nothing. No data received, signals called, status change, not a thing. If while in gdb, inside of webkit_download_start, I do "call download->priv->resourceHandle.m_ptr->start()' at the end of the function, then continue executing uzbl, the download successfully completes. I doubt it's the correct behavior, but something, somewhere, stopped calling start on the handle. [1]All I have is a git history of tarballs; the official repo is way too large for my bandwidth to handle.
Attachments
Add attachment
proposed patch, testcase, etc.
Ben Boeckel
Comment 1
2014-03-02 11:38:48 PST
I found my problem. When I had ported over to WebKit2, the download destination was determined asynchronously, but WebKit1's download mechanism calls _start and _cancel on its own, so if we're async, the destination isn't set when the download is started by WebKit itself, implicitly and silently cancelling it. The fix is to make the WebKit1 code sync.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug