Bug 91401

Summary: [EFL][WK2] Implement decidePolicyForResponse in policy client
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: gustavo, gyuyoung.kim, kenneth, rakuco, ryuan.choi, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 61838, 91345    
Attachments:
Description Flags
Patch none

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]
Patch

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]
Patch

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.