anchor.download attribute value is ignored when href contains a data URL. Test case: http://jsfiddle.net/cW7W5/1582/ It should download the file as icon.gif but doesn't.
Actual test case: http://jsfiddle.net/cW7W5/1584/
We call WebFrame::startDownload() with the right URL and suggestedName. However, the suggested name apparently gets ignored later on somehow.
Oh, it looks like the new NETWORK_SESSION code path completely ignores 'suggestedName' on Network process side. This bug is not specific to data URLs.
Should be trivial to fix. I'll look into it after I am done with Bug 156099.
Created attachment 289764 [details] Patch
Comment on attachment 289764 [details] Patch Clearing flags on attachment: 289764 Committed r206355: <http://trac.webkit.org/changeset/206355>
All reviewed patches have been landed. Closing bug.
*** Bug 156067 has been marked as a duplicate of this bug. ***