Bug 55940

Summary: WebKit2 should support Ignore policy from injected bundle client
Product: WebKit Reporter: John Sullivan <sullivan>
Component: WebKit2Assignee: John Sullivan <sullivan>
Status: RESOLVED INVALID    
Severity: Normal CC: sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.6   
Attachments:
Description Flags
Patch to add WKBundlePagePolicyActionIgnore darin: review+

Description John Sullivan 2011-03-08 07:11:31 PST
Currently WebKit2 supports only WKBundlePagePolicyActionPassThrough and WKBundlePagePolicyActionUse from the injected bundle client. It should also support an Ignore policy, so clients don't have to take a round trip through the UI process in order to ignore a request.
Comment 1 John Sullivan 2011-03-08 07:14:35 PST
Created attachment 85047 [details]
Patch to add WKBundlePagePolicyActionIgnore
Comment 2 John Sullivan 2011-03-08 10:12:26 PST
Fixed in r80568
Comment 3 Sam Weinig 2011-03-08 11:21:49 PST
This patch was wrong. If you add Ignore, you have to add it for all the policy delegates, not just one of them.
Comment 4 John Sullivan 2011-03-08 12:04:00 PST
Agreed. I'll revert this patch.
Comment 5 John Sullivan 2011-03-08 13:20:09 PST
Reverted in 80585.