Bug 136780

Summary: Save embeded resource with their specified name
Product: WebKit Reporter: Frantisek Erben <erben.fr>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: ap, eoconnor, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.9   
Attachments:
Description Flags
HTML for reproduce none

Description Frantisek Erben 2014-09-12 06:38:06 PDT
Reproduce:
Open included HTML and click on button

Current behavior
Download file "Unknown"

Wanted behavior
Download file with filename "test.rtf"
Comment 1 Frantisek Erben 2014-09-12 06:39:17 PDT
Created attachment 238025 [details]
HTML for reproduce
Comment 2 Alexey Proskuryakov 2014-09-13 01:12:38 PDT
Formally, this test behaves correctly. It has two code paths:

1. One that is Microsoft specific, and does not work in any other browser.

2. Another that doesn't even attempt to specify that file name, so no browser can possibly use the expected name.

So we will never make this test work as expected. However, the problem is real - there is no way to save a file with a given name with WebKit. We should make it possible somehow.