Bug 244369 - [Reporting API] Track limit of 100 reports by report type
Summary: [Reporting API] Track limit of 100 reports by report type
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks: 189365
  Show dependency treegraph
 
Reported: 2022-08-25 16:24 PDT by Brent Fulgham
Modified: 2022-10-07 20:53 PDT (History)
1 user (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-08-25 16:24:53 PDT
The Reporting API requires that we limit the count of each type of report to 100 (https://www.w3.org/TR/reporting-1/#notify-observers, Step 4.2.3-4).

We currently limit the entire set to 100, but should keep track of individual types of reports (once we add more than the CSPViolationReportBody).
Comment 1 Radar WebKit Bug Importer 2022-09-01 16:25:17 PDT
<rdar://problem/99463125>
Comment 2 Brent Fulgham 2022-10-03 17:09:03 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4957
Comment 3 EWS 2022-10-07 20:53:46 PDT
Committed 255307@main (f2b771d11e79): <https://commits.webkit.org/255307@main>

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