Bug 244870

Summary: Remove unused 'willSendCSPViolationReport' method
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit2Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Brent Fulgham 2022-09-06 16:50:46 PDT
The ContentSecurityPolicyClient interface exposes a method, 'willSendCSPViolationReport', that is implemented in the abstract base class as a no-op, and is not used anywhere.

Since ContentSecurityPolicyClient.h is a private implementation header for WebKit, and is not API for developers, we can remove this dead code.
Comment 1 Radar WebKit Bug Importer 2022-09-06 16:51:45 PDT
<rdar://problem/99626167>
Comment 2 Brent Fulgham 2022-09-06 17:06:29 PDT
Pull request: https://github.com/Webkit/WebKit/pull/4081
Comment 3 EWS 2022-09-07 13:51:41 PDT
Committed 254248@main (06cb725e3efd): <https://commits.webkit.org/254248@main>

Reviewed commits have been landed. Closing PR #4081 and removing active labels.