[webkit-help] DownloadPolicy help

Alexey Proskuryakov ap at webkit.org
Thu Mar 11 10:46:20 PST 2010

On 11.03.2010, at 8:24, Jack Wootton wrote:

> 2. What specifically is the purpose of WebCore::EPolicyDownload?  
> From the name I kind of assumed that perhaps it was a way of the  
> browser attempting to download an application that can handle the  
> MIME type.

It's "download this resource". E.g. if you click on a "download" link  
in browser, the client (such as Safari) still needs to decide whether  
to open the referenced resource in a Web page, or to download it. It  
can also ask the user whether to download, and if the user refuses,  
the client tells WebKit to cancel the request.

- WBR, Alexey Proskuryakov

More information about the webkit-help mailing list