Bug 91401 - [EFL][WK2] Implement decidePolicyForResponse in policy client
Summary: [EFL][WK2] Implement decidePolicyForResponse in policy client
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
Depends on:
Blocks: 61838 91345
  Show dependency treegraph
Reported: 2012-07-16 09:51 PDT by Chris Dumez
Modified: 2012-07-16 20:51 PDT (History)
7 users (show)

See Also:

Patch (3.59 KB, patch)
2012-07-16 10:32 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2012-07-16 09:51:50 PDT
We need to implement the decidePolicyForResponse callback in our policy client.

The basic rule should be that if the view can show the MIME type, then we should accept the request, otherwise we should download it.
Comment 1 Chris Dumez 2012-07-16 10:32:27 PDT
Created attachment 152559 [details]

The patch is based on Qt's implementation, except for the resourceResponse.isAttachment() check which is inspired from GTK port.
Comment 2 WebKit Review Bot 2012-07-16 20:51:34 PDT
Comment on attachment 152559 [details]

Clearing flags on attachment: 152559

Committed r122803: <http://trac.webkit.org/changeset/122803>
Comment 3 WebKit Review Bot 2012-07-16 20:51:43 PDT
All reviewed patches have been landed.  Closing bug.