Bug 182540

Summary: Add WKNavigationDelegate SPI to tell the client when an insecure plug-in is blocked
Product: WebKit Reporter: Jeff Miller <jeffm>
Component: WebKit APIAssignee: Jeff Miller <jeffm>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, jeffm, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch achristensen: review+

Description Jeff Miller 2018-02-06 10:35:25 PST
Add WKNavigationDelegate SPI to tell the client when an insecure plug-in is blocked to match existing functionality in WKPageLoaderClient. WKPageLoaderClient has a pluginDidFail callback that's invoked when a plug-in fails to initialize and when an insecure plug-in is blocked, but WKNavigationDelegate only defines a -_webView:didFailToInitializePlugInWithInfo: method for the former case.
Comment 1 Radar WebKit Bug Importer 2018-02-06 10:37:47 PST
<rdar://problem/37279560>
Comment 2 Jeff Miller 2018-02-06 13:39:53 PST
Created attachment 333209 [details]
Patch
Comment 3 Jeff Miller 2018-02-06 14:45:29 PST
Committed r228194: <https://trac.webkit.org/changeset/228194>