Bug 136780 - Save embeded resource with their specified name
Summary: Save embeded resource with their specified name
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.9
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-12 06:38 PDT by Frantisek Erben
Modified: 2014-09-13 01:12 PDT (History)
3 users (show)

See Also:


Attachments
HTML for reproduce (75.60 KB, application/zip)
2014-09-12 06:39 PDT, Frantisek Erben
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.