Bug 244870 - Remove unused 'willSendCSPViolationReport' method
Summary: Remove unused 'willSendCSPViolationReport' method
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-06 16:50 PDT by Brent Fulgham
Modified: 2022-09-07 13:51 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.