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

Chris Dumez
Reported 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.
Attachments
Patch (3.59 KB, patch)
2012-07-16 10:32 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 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.
WebKit Review Bot
Comment 2 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>
WebKit Review Bot
Comment 3 2012-07-16 20:51:43 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.