GNOME Bugzilla – Bug 685950
Save us context menu option downloads the link before a destination have been selected
Last modified: 2013-02-20 14:09:39 UTC
In WebKit2, downloads don't start on demand, there's no webkit_download_start. You request the web context to start a download and it returns a download object. So, as soon as you select save as, you will see the file chooser and a download already running (well, actually two downloads because of bug #678993) in the downloads bar. The location you choose from the file chooser won't have any effect because the download is already running with the default download destination.
Created attachment 226249 [details] [review] Patch
This patch was already reviewed in bug #679366, see https://bugzilla.gnome.org/show_bug.cgi?id=679366#c4.
Created attachment 232717 [details] [review] Updated patch Updated after ephy download api changes
Review of attachment 232717 [details] [review]: Looks good.